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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

jiapei100
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 .

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

Welcome to Vision Open http://www.visionopen.com
Reply | Threaded
Open this post in threaded view
|

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

jiapei100
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