diff options
author | Sven Gothel <[email protected]> | 2019-09-07 02:20:55 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-09-07 02:20:55 +0200 |
commit | 56a9f30fde429663514c6d5c810af2c43cb7ebf3 (patch) | |
tree | 0191fde8771314004642d85b2d5736d50d0200fe /src/jogl/classes/jogamp/opengl/x11/glx/X11PbufferGLXDrawable.java | |
parent | 2ab629205c88978891271dd51cfa2a1669a6eec2 (diff) |
Bug 1391 Bug 1392: Implement GLRendererQuirks DontChooseFBConfigBestMatch and No10BitColorCompOffscreen
Further enhance unit tests TestGLProfile03NEWTOffscreen,
i.e. test all meta profile types on all offscreen drawable types (fbo, pbuffer and bitmap).
Align unit test name numbers of TestGLProfile01NEWT to TestGLProfile03NEWTOffscreen.
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/x11/glx/X11PbufferGLXDrawable.java')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/x11/glx/X11PbufferGLXDrawable.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/x11/glx/X11PbufferGLXDrawable.java b/src/jogl/classes/jogamp/opengl/x11/glx/X11PbufferGLXDrawable.java index b961c97a2..9a95857fd 100644 --- a/src/jogl/classes/jogamp/opengl/x11/glx/X11PbufferGLXDrawable.java +++ b/src/jogl/classes/jogamp/opengl/x11/glx/X11PbufferGLXDrawable.java @@ -115,7 +115,9 @@ public class X11PbufferGLXDrawable extends X11GLXDrawable { final long pbuffer = GLX.glXCreatePbuffer(display, config.getFBConfig(), iattributes); if (pbuffer == 0) { // FIXME: query X error code for detail error message - throw new GLException("pbuffer creation error: glXCreatePbuffer() failed"); + throw new GLException("pbuffer creation error: glXCreatePbuffer() failed using fbConfig 0x"+ + Long.toHexString(config.getFBConfig())+", size "+ms.getSurfaceWidth()+"x"+ms.getSurfaceHeight()+ + ", "+config.getChosenCapabilities()); } // Set up instance variables |