aboutsummaryrefslogtreecommitdiffstats
path: root/make/gl-impl-CustomJavaCode.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-02-12 21:02:37 +0000
committerKenneth Russel <[email protected]>2006-02-12 21:02:37 +0000
commit07862414f8274f88a6243e8963bbe56fe9f640e7 (patch)
treef618c04ee8f70f868b189ee0c84174f7eb24451a /make/gl-impl-CustomJavaCode.java
parent606c984ad87163c1aa9cb975b810e686f30ecab0 (diff)
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
Diffstat (limited to 'make/gl-impl-CustomJavaCode.java')
-rw-r--r--make/gl-impl-CustomJavaCode.java6
1 files changed, 6 insertions, 0 deletions
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;
/**