diff options
Diffstat (limited to 'src/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOffscreenCGLDrawable.java')
-rw-r--r-- | src/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOffscreenCGLDrawable.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOffscreenCGLDrawable.java b/src/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOffscreenCGLDrawable.java index bf3e402cc..a825e1c1e 100644 --- a/src/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOffscreenCGLDrawable.java +++ b/src/classes/com/sun/opengl/impl/macosx/cgl/MacOSXOffscreenCGLDrawable.java @@ -44,8 +44,11 @@ import com.sun.opengl.impl.*; public class MacOSXOffscreenCGLDrawable extends MacOSXPbufferCGLDrawable { - public MacOSXOffscreenCGLDrawable(GLDrawableFactory factory, GLCapabilities capabilities) { - super(factory, capabilities, 0, 0); + public MacOSXOffscreenCGLDrawable(GLDrawableFactory factory, + GLCapabilities capabilities, + int width, + int height) { + super(factory, capabilities, width, height); } public GLContext createContext(GLContext shareWith) { |