SDL/OpenGL crash

The following program produces a blue screen of death of my Windows 2000
computer (SDL version 1.2.7):

#include “SDL.h”

int main(int argc, char *argv[])
{
SDL_Init(SDL_INIT_VIDEO);
SDL_SetVideoMode(640, 480, 32, SDL_OPENGL | SDL_FULLSCREEN);
SDL_Quit();
}

However, if I add some rendering code and an event loop, it works just fine.
Could somebody please check if this minimal test program also crashes on
other computers?–
Rainer Deyke - rainerd at eldwood.com - http://eldwood.com