Ah thanx... the Oxygene sample runs fine

I had to remove one line though:

[pascal]
bpp := SDL_VideoModeOk( 640, 480, 15, 0 );
[/pascal]

When i ran the sample, SDL accepted the 15bit display mode, but further initialization failed afterwards.

I guess Vista (or my new Graphics Hardware can't handle 15 bit FrameBuffers). I just checked the Capability Viewer that came with DX SDK and 15bit FrameBuffers (I guess that's D3DFMT_X1R5G5B5) can only be used in windowed mode.

I don't have a clue why SDL accepted this to happen :?