diff options
author | Sven Gothel <[email protected]> | 2012-10-19 17:13:14 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-10-19 17:13:14 +0200 |
commit | 0d353c8bec9cc0c9f3dc6326177f3022c920f677 (patch) | |
tree | 984e3e4bf884142edfd0c3a2b27cf9b66029bcf2 /src/jake2/render/opengl/JoglGL2ES1.java | |
parent | 7b18dfedf6c04f77a6032539f8b70d434375d139 (diff) |
Fix/Enhance NEWT ScreenMode (FS) integration, simplify NEWTWin creation
- Only list unique resolutions
- Use List<ScreenMode>
- Properly deactivateGLContext()/activateGLContext() for setMode(..)
Further:
- JoglES2Driver: Claim to have pointExt (FFP emul will follow up)
Diffstat (limited to 'src/jake2/render/opengl/JoglGL2ES1.java')
-rw-r--r-- | src/jake2/render/opengl/JoglGL2ES1.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jake2/render/opengl/JoglGL2ES1.java b/src/jake2/render/opengl/JoglGL2ES1.java index e560bac..524fdaf 100644 --- a/src/jake2/render/opengl/JoglGL2ES1.java +++ b/src/jake2/render/opengl/JoglGL2ES1.java @@ -306,10 +306,6 @@ public class JoglGL2ES1 implements QGL { gl.glPixelStorei(pname, param); } - public void glPointSize(float size) { - gl.glPointSize(size); - } - public void glPolygonMode(int face, int mode) { if( GL_FRONT_AND_BACK != face || GL_FILL != mode ) { // if !default System.err.println("IGNORED: glPolygonMode(0x"+Integer.toHexString(face)+", 0x"+Integer.toHexString(mode)+")"); @@ -408,6 +404,10 @@ public class JoglGL2ES1 implements QGL { gl.glClientActiveTexture(texture); } + public void glPointSize(float size) { + gl.glPointSize(size); + } + public void glPointParameterEXT(int pname, FloatBuffer pfParams) { gl.glPointParameterfv(pname, pfParams); } |