summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/classes/share/javax/media/j3d/JoglPipeline.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/share/javax/media/j3d/JoglPipeline.java b/src/classes/share/javax/media/j3d/JoglPipeline.java
index 93703ed..56b8e86 100644
--- a/src/classes/share/javax/media/j3d/JoglPipeline.java
+++ b/src/classes/share/javax/media/j3d/JoglPipeline.java
@@ -6266,7 +6266,7 @@ class JoglPipeline extends Pipeline {
int newHeight = Math.max(1, cvHeight);
GLDrawable glDrawble = joglDrawable.getGLDrawable();
- GLContext glContext = ((JoglContext)cv.ctx).getGLContext();
+ GLContext glContext = context(cv.ctx);
// Assuming glContext != null