Hello Guest

Problems with glLoadMatrixf(FloatBuffer) ?.

  • 0 Replies
  • 82 Views
Problems with glLoadMatrixf(FloatBuffer) ?.
« on: March 18, 2021, 13:37:15 »
Hello,


i have problems loading a matrix into OpenGL using glLoadMatrixf from org.lwjgl.opengl.coregl11. an native error occure in nvoglnt.dll

i tried it as follows:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.
.
.
FloatBuffer buffer = FloatBuffer.wrap(
    new float[]
    {
        1.0f, 0.0f, 0.0f, 0.0f,
        0.0f, 1.0f, 0.0f, 0.0f,
        0.0f, 0.0f, 1.0f, 0.0f,
        0.0f, 0.0f, 0.0f, 1.0f,
    });
 
GL.glLoadMatrixf(buffer);
.
.
.


im using lwjgl 0.7 and the java sdk 1.4.2 under win32

does anyone have an idea?


thanks
alexsunny