Hello,

I just would to know how can I get the current matrix mode. I try whit
this :

ByteBuffer buffer = ByteBuffer.allocate(4);
buffer.order(ByteOrder.nativeOrder());
IntBuffer matrixMode = buffer.asIntBuffer();
gl.glGetIntegerv(GL11.GL_MATRIX_MODE, matrixMode);

......

gl.glMatrixMode(matrixMode.get(0))

But it's alway return 0 instead of GL_MODELVIEW(5888) in my case.

Thanks,

Thomas


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to