Hi,
found a bug myself this time!
When using “testsprite -fullscreen” (with an implicit -bpp 8)
and my desktop set to 16-bit, or "testsprite -bpp 16 -fullscreen"
with my desktop set to 8-bit, I get an SDL Parachute.
ONLY happens on my two Windows 95 boxes (different videocards,
processors and DX versions), Windows 98 (same hardware as one of the
95 boxes) and Win2K seem to work fine.
Happens every time, both machines are quite different, only happens
with fullscreen.
I have traced it (painfully in fullscreen) to the WM_ACTIVATE handler,
here is my fix :
File: wincommon/sdl_sysevents.c
Line: ~205
…
case WM_ACTIVATE: {
SDL_VideoDevice *this = current_video;
BOOL minimized;
Uint8 appstate;
if ( !current_video->screen ) <------- add these
return 0; <------- two lines
minimized = HIWORD(wParam);
…
Had a quick look at my own DX code (developed on Win95) and sure enough
there is a check in my WM_ACTIVATE handler.
Hoping someone else can confirm the problem, and perhaps test the solution,
cheers,
John Popplewell.
PS here’s hoping 1.2.4 will be a good one!