|
|
GLX error codes
Hi!
glXMakeContextCurrent() returns False on error, and according to the man
page there are different error codes. How can the error code be accessed?
glGetError() returns 0 even after a failed call to glXMakeContextCurrent().
Thanks in advance,
Markus
--
Markus Grabner - Computer Graphics and Vision
Graz University of Technology, Inffeldgasse 16/II, 8010 Graz, Austria
Phone: +43/316/873-5041, Fax: +43/316/873-5050
Email: grabner@icg.tu-graz.ac.at, WWW: http://www.icg.tu-graz.ac.at/~grabner
|
|
0
|
|
|
|
Reply
|
Markus
|
8/13/2003 12:38:29 PM |
|
In article <3f3a3145$0$19360$3b214f66@aconews.univie.ac.at>,
Markus Grabner <grabner@icg.tu-graz.ac.at> wrote:
> glXMakeContextCurrent() returns False on error, and according to the man
>page there are different error codes. How can the error code be accessed?
>glGetError() returns 0 even after a failed call to glXMakeContextCurrent().
GLX is an X extension; errors show up as error events from the
server, in the X event stream.
Jon Leech
SGI
|
|
0
|
|
|
|
Reply
|
nospam
|
8/15/2003 12:45:21 AM
|
|
On 15 Aug 2003 00:45:21 GMT, nospam@oddhack.engr.sgi.com (Jon Leech)
wrote:
>In article <3f3a3145$0$19360$3b214f66@aconews.univie.ac.at>,
>Markus Grabner <grabner@icg.tu-graz.ac.at> wrote:
>> glXMakeContextCurrent() returns False on error, and according to the man
>>page there are different error codes. How can the error code be accessed?
>>glGetError() returns 0 even after a failed call to glXMakeContextCurrent().
>
> GLX is an X extension; errors show up as error events from the
>server, in the X event stream.
Still, a default GLX error here at my SGI calls abort() after printing
the message.
If glXMakeCurrent() returns FALSE there's not a lot of information
available on why, although you'd expect an X BadMatch or alike to be
thrown (and it doesn't look like that, given that the program
continues to run).
Ruud van Gaal
Free car sim: http://www.racer.nl/
Pencil art : http://www.marketgraph.nl/gallery/
|
|
0
|
|
|
|
Reply
|
KILLSPAMruud
|
8/15/2003 12:56:10 PM
|
|
|
2 Replies
302 Views
(page loaded in 0.547 seconds)
Similiar Articles: glCopyTexSubImage2D - comp.graphics.api.opengl... dirty PBuffer class doing that for both Win32 and GLX. I just repost them here for reference. However the code ... throw runtime_error("pbuffer is not initialized ... glut 3.7 compilation error - comp.graphics.api.opengl... U1077: 'C:\PROGRA~2\MICROS~2\VC\bin\AMD64\nmake.EXE' : retur n code '0x2' Stop. NMAKE : fatal error ... obj glut_warp.obj > glut_win.obj > glut_winmisc.obj win32_glx.obj ... Rendering to bitmap - comp.graphics.api.openglLook > for the thread entitled "Re: GLX - PBuffer" > > a week or so ago and ... interested, I've finally solved the problem with a bit of trial >>>and error... the code ... pbuffers - comp.graphics.api.opengl... OpenGL extensions: The driver may well contain the code ... to attach an OpenGL context to), this is a part of GLX ... Could not find an acceptable pixel format!", > "ERROR",MB ... texture-mapping differences between Linux and Mac for Bezier ...I have some code that *used* to work for texture-mapping ... Thus all OpenGL commands have to packed into GLX ... The error was 'GLXBadDrawable'. 3 135 mathieu OpenGl wrapper for CSharp - comp.graphics.api.opengl... can't use gluNewQuadratic(), because it causes fault. ... I have some code for an improved OpenGL control of my ... glX questions 1 75 Dave When/how is a rendering context lost ? - comp.graphics.api.opengl ...Your code uses double buffering which shouldn't matter ? ... depend on a window-system specific API such as WGL, GLX ... glut fatal error - comp.graphics.api.opengl... executed ... How to Create OpenGL Extensions - SGI - oss.sgi.com: Open Source ...SGI keeps a registry of enumerated type values, GLX codes (vendor private opcodes, vendor private with reply opcodes, new visual attribute type values, GLX error codes ... 97 Jetta GLX - P0440 fault Code - car problems97 Jetta GLX P0440 I have the following code. 16824 - P0440 - EVAP Emmission Control Module Is this something to be concerned about? Thanks. - Hugh 7/26/2012 9:56:50 AM
|
|
|
|
|
|
|
|
|