After updating the nvidia driver to ver. 71.81 I am not able to run sdl
apps. anymore
When running the below shown code I get the following error when executing
SDL_SetVideoMode :
Caption : nVidia OpenGl driver
Text : Driver component sizes mis-match. Retry to keep going. Cancel
to exit.
Can anyone help
Best regards
Per J Kolding
// Include all necessary headers.
#include
#include <SDL/SDL.h>
/*
- Common stuff we need
*/
bool running = true;
/*
*SDL Stuff we need
*/
SDL_Surface* screen;
SDL_Event event;
/**
- Initializes the Hello World
*/
void init()
{
/*
- Here we initialize SDL as we would do with any SDL application.
*/
SDL_Init(SDL_INIT_VIDEO);
screen = SDL_SetVideoMode(640, 480, 32, SDL_OPENGL);
// We want unicode
SDL_EnableUNICODE(1);
// We want to enable key repeat
SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY,
SDL_DEFAULT_REPEAT_INTERVAL);
}
int main(int argc, char **argv)
{
init();
return 0;
}