I am still in the early stages of discovering the capabilities of SDL.
I have been through a couple tutorials and have the latest SDL, mesa, and
glut on my linux mandrake 8 system. I am able to compile and run simple
mesa library progs as well as most of the SDL progs, but …
When I try to run testgl from the SDL test files, it tells me that my system
has no open gl support.
How do I enable gl support with SDL ?
Is open gl support through SDL supported using fbcon ?
Thanks in advance for your help,
Charles
testgl.c checks if HAVE_OPENGL is defined.
If not, the main function prints that there is no opengl support and exits.
HAVE_OPENGL should be set by the configure script in the test directory.
If you do not use the configure script or it cannot detect OpenGL,
try compiling testgl.c with -DHAVE_OPENGL.
JohannesOn Saturday 26 January 2002 14:23, Charles Wilkins wrote:
When I try to run testgl from the SDL test files, it tells me that my
system has no open gl support.
Hi!
Another thing worth a try would be:
{
SDL_Init(SDL_INIT_VIDEO);
if(SDL_VideoModeOK(desired_width, desired_height, desired_bpp,
SDL_OPENGL)>0) /* OGL exists on system … */
}
Well, just try it … maybe it works …
St0fF 64.
At 13:47 28.01.2002 +0100, you wrote:>On Saturday 26 January 2002 14:23, Charles Wilkins wrote:
When I try to run testgl from the SDL test files, it tells me that my
system has no open gl support.
testgl.c checks if HAVE_OPENGL is defined.
If not, the main function prints that there is no opengl support and exits.
HAVE_OPENGL should be set by the configure script in the test directory.
If you do not use the configure script or it cannot detect OpenGL,
try compiling testgl.c with -DHAVE_OPENGL.
Johannes
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl