[SDL] OpenGL & SDL
Jimmy
jimmy at jimmysworld.org
Tue Sep 16 11:03:01 PDT 2003
Assuming you have the drivers installed correctly, and your system is
properly configured: the most likely reason for this error is that
you're manually specifying a colour depth. IF your X Server isn't
running at the depth you specify it won't be able to create the display.
Try switching SDL_SetVideoMode( x,y, bpp, flags ) to
SDL_SetVideoMode(x,y, 0, flags ) to have SDL give you a display at
whatever colour depth the server is currently running at.
Otherwise, details... details..
Do other OpenGL programs work?
Sample code.
Video Card?
Driver version?
etc.
On Tue, 2003-09-16 at 11:47, NighTiger wrote:
> Hi,
> I've tried to run a opengl application that use SDL libraries, but I
> received this text:
>
> Xlib: extension "GLX" missing on display ":0.0".
> Xlib: extension "GLX" missing on display ":0.0".
> Video mode set failed: Couldn't find matching GLX visual
>
> Anyone can help me?
> tnx
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
--
Jimmy <jimmy at jimmysworld.org>
Jimmy's World.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030916/59f29985/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030916/59f29985/attachment.pgp>
More information about the SDL
mailing list