aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/opengl/GLDriver.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/render/opengl/GLDriver.java')
-rw-r--r--src/jake2/render/opengl/GLDriver.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/jake2/render/opengl/GLDriver.java b/src/jake2/render/opengl/GLDriver.java
index 8a8eb4c..6fda8cf 100644
--- a/src/jake2/render/opengl/GLDriver.java
+++ b/src/jake2/render/opengl/GLDriver.java
@@ -1,8 +1,10 @@
package jake2.render.opengl;
+import javax.media.nativewindow.util.Dimension;
+
import jake2.qcommon.xcommand_t;
-import java.awt.Dimension;
+import com.jogamp.newt.ScreenMode;
public interface GLDriver {
@@ -22,7 +24,7 @@ public interface GLDriver {
void logNewFrame();
- java.awt.DisplayMode[] getModeList();
+ ScreenMode[] getModeList();
void updateScreen(xcommand_t callback);