summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-04-18 23:29:13 -0700
committerHarvey Harrison <[email protected]>2013-04-18 23:29:13 -0700
commit4c8ff2eede274d496f1cdc263511463dbff17ee9 (patch)
tree2fe6fae8d3903c9792a1cf4e633c20befc3c1f05 /src
parent079c1467244582ce55fa49e48f248e531eb680dc (diff)
j3dcore: remove a leftover assert, it is now OK for offscreen canvas3d objects to be doublebuffered
In fact, this is a must for certain OSX machines. Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/classes/share/javax/media/j3d/Canvas3D.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/classes/share/javax/media/j3d/Canvas3D.java b/src/classes/share/javax/media/j3d/Canvas3D.java
index f57afc9..5bafee1 100644
--- a/src/classes/share/javax/media/j3d/Canvas3D.java
+++ b/src/classes/share/javax/media/j3d/Canvas3D.java
@@ -1150,8 +1150,7 @@ ArrayList<TextureRetained> textureIDResourceTable = new ArrayList<TextureRetaine
// Issue 131: assert that only an off-screen canvas can be demand-driven
assert (!offScreen && manualRendering) == false;
- // Assert that offScreen is *not* double-buffered or stereo
- assert (offScreen && useDoubleBuffer) == false;
+ // Assert that offScreen is *not* stereo
assert (offScreen && useStereo) == false;
}