quantum
quantum copied to clipboard
JogAmp JOGL 2.3.1 update
Rename import javax.media.opengl.* -> import com.jogamp.opengl.* across all files. Rename GLCanvas getWidth -> getSurfaceWidth and getHeight -> getSurfaceHeight. Replaced depricated com.jogamp.opengl.util.awt.Screenshot with com.jogamp.opengl.util.awt.AWTGLReadBufferUtil. Use long type for shader objects.
Signed-off-by: Xerxes Rånby [email protected]
Thanks for this. I tested it on Mac OS X, but now some text isn't rendered anymore:
Not quite sure why that would be. If you have any ideas let me know. I'll get to it this weekend otherwise.
Odd specially considering that the quantum gui did manage to print Version 1.33 in the lower corner.
You may try enable the JogAmp JOGL Debug GL: -Djogl.debug.DebugGL it checks if the driver has encountered any error at runtime.
And Trace GL -Djogl.debug.TraceGL
java -Djogl.debug.TraceGL -Djogl.debug.DebugGL -jar quantum.jar
Yeah, the GL code is pretty terrible. There's probably something wrong on my end. Will use your suggestions next weekend to fix it. Thanks! On May 25, 2015 6:33 PM, "Xerxes Rånby" [email protected] wrote:
Odd specially considering that the quantum gui did manage to print Version 1.33 in the lower corner.
You may try enable the JogAmp JOGL Debug GL: -Djogl.debug.DebugGL it checks if the driver has encountered any error at runtime.
And Trace GL -Djogl.debug.TraceGL
java -Djogl.debug.TraceGL -Djogl.debug.DebugGL -jar quantum.jar
— Reply to this email directly or view it on GitHub https://github.com/badlogic/quantum/pull/1#issuecomment-105263494.