diff options
author | Sven Gothel <[email protected]> | 2014-07-08 19:03:06 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-07-08 19:03:06 +0200 |
commit | b740161d456c059d1b51029c603ce144eb2b2d44 (patch) | |
tree | d33183dfd669dc1489820ef2a91009e9d3dd1910 /src/jogl/classes/jogamp/opengl/egl | |
parent | 6770a6b013f2950a10bbc6c351a1fbe53412be30 (diff) |
Fix regression of commit 96d530e7127c89db9991080e6268c6e8430d0619: EGLDisplayUtil.eglCreateEGLGraphicsDevice(..) call w/ uninitialized 'surface'
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/egl')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java b/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java index 887bc1ba1..5a9a30313 100644 --- a/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java +++ b/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java @@ -499,7 +499,7 @@ public class EGLDrawableFactory extends GLDrawableFactoryImpl { upstreamSurface = desktopFactory.createDummySurface(adevice, reqCapsAny, null, 64, 64); // X11, WGL, .. dummy window if(null != upstreamSurface) { upstreamSurface.createNotify(); - eglDevice = EGLDisplayUtil.eglCreateEGLGraphicsDevice(surface); + eglDevice = EGLDisplayUtil.eglCreateEGLGraphicsDevice(upstreamSurface); eglDevice.open(); if( DEBUG ) { dumpEGLInfo("EGLDrawableFactory.mapAvailableEGLESConfig: ", eglDevice.getHandle()); |