h = temp;
}
- if (gl_acceleration_capability_check () != 0) {
+ /*if (gl_acceleration_capability_check () != 0) {
fprintf (stderr, "Warn: GL acceleration was disabled due to the fail of GL check!\n");
surface_screen = NULL;
} else {
if (surface_screen == NULL) {
sdl_opengl = 0;
INFO("No OpenGL support on this system!??\n");
- ERR("%s\n", SDL_GetError());
+ ERR("%s\n", SDL_GetError());*/
surface_screen = SDL_SetVideoMode(w, h, get_emul_sdl_bpp(), SDL_FLAGS);
if (surface_screen == NULL) {
ERR("Could not open SDL display (%dx%dx%d): %s\n", w, h, get_emul_sdl_bpp(), SDL_GetError());
return;
}
- } else {
+ /*} else {
sdl_opengl = 1;
INFO("OpenGL is supported on this system.\n");
- }
+ }*/
if (sdl_opengl == 1) {
/* Set the OpenGL state */