From 980d7c8ba100e896a3d3cceca8ce2cb809edfc56 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Sat, 9 Nov 2013 12:23:32 -0800 Subject: j3dcore: use the context() helper in one more place in JoglPipeline Signed-off-by: Harvey Harrison --- src/classes/share/javax/media/j3d/JoglPipeline.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3