aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/jake2/render/fast/Main.java4
-rw-r--r--src/jake2/render/fast/Mesh.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/jake2/render/fast/Main.java b/src/jake2/render/fast/Main.java
index fee4267..5459f20 100644
--- a/src/jake2/render/fast/Main.java
+++ b/src/jake2/render/fast/Main.java
@@ -516,7 +516,7 @@ public abstract class Main extends Base {
void R_DrawParticles() {
if (gl_ext_pointparameters.value != 0.0f && qglPointParameterfEXT) {
- //gl.gl.glEnableClientState(GL_VERTEX_ARRAY);
+ gl.glEnableClientState(GL_VERTEX_ARRAY);
gl.glVertexPointer(3, 0, particle_t.vertexArray);
gl.glEnableClientState(GL_COLOR_ARRAY);
gl.glColorPointer(4, true, 0, particle_t.getColorAsByteBuffer());
@@ -529,7 +529,7 @@ public abstract class Main extends Base {
gl.glDrawArrays(GL_POINTS, 0, r_newrefdef.num_particles);
gl.glDisableClientState(GL_COLOR_ARRAY);
- //gl.gl.glDisableClientState(GL_VERTEX_ARRAY);
+ //gl.glDisableClientState(GL_VERTEX_ARRAY);
gl.glDisable(GL_BLEND);
gl.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
diff --git a/src/jake2/render/fast/Mesh.java b/src/jake2/render/fast/Mesh.java
index 8b61bbb..41f3ed7 100644
--- a/src/jake2/render/fast/Mesh.java
+++ b/src/jake2/render/fast/Mesh.java
@@ -192,7 +192,7 @@ public abstract class Mesh extends Light {
GL_LerpVerts(paliashdr.num_xyz, ov, verts, move, frontv, backv);
- // gl.gl.glEnableClientState( GL_VERTEX_ARRAY );
+ gl.glEnableClientState( GL_VERTEX_ARRAY );
gl.glVertexPointer(3, 0, vertexArrayBuf);
// PMM - added double damage shell
@@ -223,7 +223,7 @@ public abstract class Mesh extends Light {
gl.glClientActiveTextureARB(TEXTURE0);
gl.glTexCoordPointer(2, 0, textureArrayBuf);
- // gl.gl.glEnableClientState( GL_TEXTURE_COORD_ARRAY);
+ gl.glEnableClientState( GL_TEXTURE_COORD_ARRAY );
int pos = 0;
int[] counts = paliashdr.counts;