diff options
author | Michael Bien <[email protected]> | 2010-04-24 18:16:55 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-04-24 18:16:55 +0200 |
commit | 4f116decee048c8ee6e4c980f8b0d85705f927fb (patch) | |
tree | 17b3a1df249db0a880f088ce9275d4073f5b1b12 /src/jogl/classes/com/jogamp/opengl/impl | |
parent | 1ad8c39df6b097c80ba7a85badf555e7f669cc3f (diff) |
changes due to refactorings in ProcAddressTable.
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/impl')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java | 2 | ||||
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java b/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java index 7d0c3a0c2..6899f5785 100644 --- a/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java +++ b/src/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java @@ -688,7 +688,7 @@ public abstract class GLContextImpl extends GLContext { /** Helper routine which resets a ProcAddressTable generated by the GLEmitter by looking up anew all of its function pointers. */ protected void resetProcAddressTable(Object table) { - GLProcAddressHelper.resetProcAddressTable(table, getDrawableImpl().getDynamicLookupHelper() ); + ((ProcAddressTable)table).resetProcAddressTable(getDrawableImpl().getDynamicLookupHelper() ); } /** Indicates whether the underlying OpenGL context has been diff --git a/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java b/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java index 9a0edcfbb..d8013206d 100644 --- a/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java +++ b/src/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java @@ -54,7 +54,7 @@ public class X11GLXDrawableFactory extends GLDrawableFactoryImpl implements Dyna super(); // Must initialize GLX support eagerly in case a pbuffer is the // first thing instantiated - GLProcAddressHelper.resetProcAddressTable(GLX.getGLXProcAddressTable(), this); + GLX.getGLXProcAddressTable().resetProcAddressTable(this); // Register our GraphicsConfigurationFactory implementations // The act of constructing them causes them to be registered new X11GLXGraphicsConfigurationFactory(); |