summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-28 04:04:26 +0100
committerSven Gothel <[email protected]>2010-11-28 04:04:26 +0100
commit2b6d3f6d29db56ffff41a8a675f81cee91ebecba (patch)
treeb58d8c0bf562d7cd2739dc1ad531cac10cc9713c
parent8902c61cfc51ca8bb5ed7f3cfdf2de9bda042d14 (diff)
Adapt to JOGL 597007fc23fbf86e036629b6c6b157e0e0506715
-rw-r--r--make/make.jogl.all.x86_64.sh2
-rwxr-xr-xsrc/demos/readbuffer/ReadBufferBase.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/make/make.jogl.all.x86_64.sh b/make/make.jogl.all.x86_64.sh
index 1d4c96c..2298142 100644
--- a/make/make.jogl.all.x86_64.sh
+++ b/make/make.jogl.all.x86_64.sh
@@ -10,6 +10,6 @@
ant \
-DskipSourceZIP=true \
-Djogl.cg=1 \
- -Duser.swt.jar=$HOME/.java/swt-3.6-gtk-linux-x86_64.jar \
+ -Duser.swt.jar=$HOME/.java/swt.jar \
-Drootrel.build=build-x86_64 \
$* 2>&1 | tee make.jogl.all.x86_64.log
diff --git a/src/demos/readbuffer/ReadBufferBase.java b/src/demos/readbuffer/ReadBufferBase.java
index bb2d228..6922f02 100755
--- a/src/demos/readbuffer/ReadBufferBase.java
+++ b/src/demos/readbuffer/ReadBufferBase.java
@@ -67,7 +67,7 @@ public class ReadBufferBase implements GLEventListener {
System.out.println(_gl);
- _gl.getContext().setGLDrawableRead(externalRead);
+ _gl.getContext().setGLReadDrawable(externalRead);
if(_gl.isGL2GL3()) {
_gl.getGL2GL3().glReadBuffer(GL2GL3.GL_FRONT);
}