summaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/impl/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/com/sun/opengl/impl/windows')
-rw-r--r--src/classes/com/sun/opengl/impl/windows/WindowsGLDrawableFactory.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawableFactory.java b/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawableFactory.java
index 94fd0eb1e..dada5d0c3 100644
--- a/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawableFactory.java
+++ b/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawableFactory.java
@@ -40,6 +40,7 @@
package com.sun.opengl.impl.windows;
import java.awt.Component;
+import java.awt.Graphics;
import java.awt.Rectangle;
import java.nio.*;
import java.util.*;
@@ -222,6 +223,15 @@ public class WindowsGLDrawableFactory extends GLDrawableFactoryImpl {
public void unlockAWTForJava2D() {
}
+ public boolean canCreateContextOnJava2DSurface() {
+ return false;
+ }
+
+ public GLContext createContextOnJava2DSurface(Graphics g)
+ throws GLException {
+ throw new GLException("Unimplemented on this platform");
+ }
+
//------------------------------------------------------
// Gamma-related functionality
//