Explorar o código

GL tracer: When printing enum, use GL_ONE instead of GL_TRUE

shadowislord %!s(int64=10) %!d(string=hai) anos
pai
achega
b3759d7147

+ 2 - 0
jme3-core/src/main/java/com/jme3/renderer/opengl/GLTracer.java

@@ -138,6 +138,8 @@ public final class GLTracer implements InvocationHandler {
                 }
             }
         }
+        // GL_ONE is more common than GL_TRUE (which is a boolean anyway..)
+        constMap.put(1, "GL_ONE");
         return constMap;
     }