aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-11-09 12:23:32 -0800
committerHarvey Harrison <[email protected]>2013-11-09 12:23:32 -0800
commit980d7c8ba100e896a3d3cceca8ce2cb809edfc56 (patch)
treed5d6a3980fd84b8e63b9558eb39ed44b25f826c5 /src
parentc31cf95e647e8eb37fb5834636f5a9851b061c7c (diff)
j3dcore: use the context() helper in one more place in JoglPipeline
Signed-off-by: Harvey Harrison <[email protected]>
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