From 0f343197b80999930287b8043c9197a685437116 Mon Sep 17 00:00:00 2001 From: Gerard Ziemski Date: Wed, 19 Nov 2003 18:47:55 +0000 Subject: implemented GLJPanel for Mac OS X git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@74 232f8b59-042b-4e1e-8c03-345bb8c30851 --- .../games/jogl/impl/macosx/MacOSXGLContext.java | 24 +++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java') diff --git a/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java b/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java index e1618a15a..d636eaa6f 100644 --- a/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java +++ b/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java @@ -85,11 +85,29 @@ public abstract class MacOSXGLContext extends GLContext protected abstract boolean isOffscreen(); - public abstract int getOffscreenContextBufferedImageType(); + public int getOffscreenContextBufferedImageType() { + throw new GLException("Should not call this"); + } - public abstract int getOffscreenContextReadBuffer(); + public int getOffscreenContextReadBuffer() { + throw new GLException("Should not call this"); + } - public abstract boolean offscreenImageNeedsVerticalFlip(); + public int getOffscreenContextWidth() { + throw new GLException("Should not call this"); + } + + public int getOffscreenContextHeight() { + throw new GLException("Should not call this"); + } + + public int getOffscreenContextPixelDataType() { + throw new GLException("Should not call this"); + } + + public boolean offscreenImageNeedsVerticalFlip() { + throw new GLException("Should not call this"); + } /** * Creates and initializes an appropriate OpenGl nsContext. Should only be -- cgit v1.2.3