From 2b6d3f6d29db56ffff41a8a675f81cee91ebecba Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 28 Nov 2010 04:04:26 +0100 Subject: Adapt to JOGL 597007fc23fbf86e036629b6c6b157e0e0506715 --- make/make.jogl.all.x86_64.sh | 2 +- src/demos/readbuffer/ReadBufferBase.java | 2 +- 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); } -- cgit v1.2.3