aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/basic/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/render/basic/Main.java')
-rw-r--r--src/jake2/render/basic/Main.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/jake2/render/basic/Main.java b/src/jake2/render/basic/Main.java
index 79bb86e..cc12a6c 100644
--- a/src/jake2/render/basic/Main.java
+++ b/src/jake2/render/basic/Main.java
@@ -1358,7 +1358,7 @@ public abstract class Main extends Base {
R_BeginFrame
@@@@@@@@@@@@@@@@@@@@@
*/
- public void R_BeginFrame(float camera_separation) {
+ public boolean R_BeginFrame(float camera_separation) {
vid.update();
@@ -1408,7 +1408,7 @@ public abstract class Main extends Base {
}
}
- glImpl.beginFrame(camera_separation);
+ if( glImpl.beginFrame(camera_separation) ) {
/*
** go into 2D mode
@@ -1466,6 +1466,11 @@ public abstract class Main extends Base {
// clear screen if desired
//
R_Clear();
+
+ return true;
+ } else {
+ return false;
+ }
}
int[] r_rawpalette = new int[256];