aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/opengl/JoglGL2ES1.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-19 17:13:14 +0200
committerSven Gothel <[email protected]>2012-10-19 17:13:14 +0200
commit0d353c8bec9cc0c9f3dc6326177f3022c920f677 (patch)
tree984e3e4bf884142edfd0c3a2b27cf9b66029bcf2 /src/jake2/render/opengl/JoglGL2ES1.java
parent7b18dfedf6c04f77a6032539f8b70d434375d139 (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.java8
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);
}