Bug when opening opengl window "out of range"

when opening a window with “invalid” size, it gives the following error
(instead of returned SDL_Surface to NULL) :

X Error of failed request: GLXBadDrawable
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 20
Current serial number in output stream: 20

When opening a window with a valid size before, it freeze the application
(must kill the window with xkill).

Sometimes when opening the window with an invalid size, it gives a server X
restart :-/

It’s on an Ubuntu breezy with nvidia card.

Regards,–
jabber : lordheavy at jabber.fr
mail : lordheavymREMOVEME at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed…
Name: sdlbug.c
Type: text/x-csrc
Size: 417 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060204/5bd04d4e/attachment.c

Le Samedi 4 F?vrier 2006 15:46, Laurent Carlier a ?crit?:

when opening a window with “invalid” size, it gives the following error
(instead of returned SDL_Surface to NULL) :

X Error of failed request: GLXBadDrawable
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 20
Current serial number in output stream: 20

When opening a window with a valid size before, it freeze the application
(must kill the window with xkill).

Sometimes when opening the window with an invalid size, it gives a server X
restart :-/

It’s on an Ubuntu breezy with nvidia card.

Regards,

I’ve tried on my laptop with ati card and there is no problems–
jabber : lordheavy at jabber.fr
mail : lordheavymREMOVEME at gmail.com