Login  Register

Re: jogl-demos - src/jbullet/src ... only two residual errors. How to revise?

Posted by jiapei100 on Jun 10, 2011; 4:51pm
URL: https://forum.jogamp.org/jogl-demos-src-jbullet-src-only-two-residual-errors-How-to-revise-tp3027357p3049682.html

jiapei100 wrote
Hi, all:

I've got only two bugs to fix for
jogl-demos, src/jbullet/src .

1) javabullet.demos.opengl/DemoApplication.java
around line 156
gl.getGLES2().enableFixedFunctionEmulationMode(GLES2.FIXED_EMULATION_VERTEXCOLORTEXTURE);
There are no definitions for either
GLES2.FIXED_EMULATION_VERTEXCOLORTEXTURE
or
enableFixedFunctionEmulationMode()
in class GLES2 .
Still unsolved... So, I just comment the whole line, namely,
//gl.getGLES2().enableFixedFunctionEmulationMode(GLES2.FIXED_EMULATION_VERTEXCOLORTEXTURE);

jiapei100 wrote
2) javabullet.demos.opengl/JOGL.java
around line 92
nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, null);
it's easy to remove the last parameter "false", but how to modify the 1st parameter
NativeWindowFactory.TYPE_AWT
, so that the first parameter is a "long" rather than a "String". (Right now
NativeWindowFactory.TYPE_AWT
 is a "String" )


Best Regards
Pei
remove the first parameter as well, it seems to be OK. Namely,
nWindow = NewtFactory.createWindow(nScreen, caps);
Welcome to Vision Open http://www.visionopen.com