From 07862414f8274f88a6243e8963bbe56fe9f640e7 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Sun, 12 Feb 2006 21:02:37 +0000 Subject: Added checking of whether the correct GLContext is current to the DebugGL pipeline. Fixed dependencies in JOGL and JOAL build.xml files so that generated code gets automatically rebuilt if GlueGen is updated. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@603 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/gl-impl-CustomJavaCode.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'make/gl-impl-CustomJavaCode.java') diff --git a/make/gl-impl-CustomJavaCode.java b/make/gl-impl-CustomJavaCode.java index 0e3762724..210195dec 100644 --- a/make/gl-impl-CustomJavaCode.java +++ b/make/gl-impl-CustomJavaCode.java @@ -24,6 +24,12 @@ public Object getExtension(String extensionName) { return null; } +/** Returns the context this GL object is associated with for better + error checking by DebugGL. */ +public GLContext getContext() { + return _context; +} + private GLContextImpl _context; /** -- cgit v1.2.3