From 88257bbb3e578dc461610cadfb23dfa38a93fbb5 Mon Sep 17 00:00:00 2001 From: "sha..rd" Date: Sun, 17 Jul 2011 23:52:20 +0000 Subject: [PATCH] * Removed glTexEnv(GL_COORD_REPLACE, ...) call because it is not needed when using shader git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7876 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/lwjgl-ogl/com/jme3/renderer/lwjgl/LwjglRenderer.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/engine/src/lwjgl-ogl/com/jme3/renderer/lwjgl/LwjglRenderer.java b/engine/src/lwjgl-ogl/com/jme3/renderer/lwjgl/LwjglRenderer.java index fa4f995d5..361f9f979 100644 --- a/engine/src/lwjgl-ogl/com/jme3/renderer/lwjgl/LwjglRenderer.java +++ b/engine/src/lwjgl-ogl/com/jme3/renderer/lwjgl/LwjglRenderer.java @@ -538,7 +538,6 @@ public class LwjglRenderer implements Renderer { context.boundTextureUnit = 0; } glEnable(GL_POINT_SPRITE); - glTexEnvi(GL_POINT_SPRITE, GL_COORD_REPLACE, GL_TRUE); glEnable(GL_VERTEX_PROGRAM_POINT_SIZE); } context.pointSprite = true; @@ -549,7 +548,6 @@ public class LwjglRenderer implements Renderer { context.boundTextureUnit = 0; } glDisable(GL_POINT_SPRITE); - glTexEnvi(GL_POINT_SPRITE, GL_COORD_REPLACE, GL_FALSE); glDisable(GL_VERTEX_PROGRAM_POINT_SIZE); context.pointSprite = false; }