DirectDraw2::SetCooperativeLevel: Unknown DirectDraw error: 0x88760239
…is what I get when I try to toggle the fullscreen mode in Win98. It works
fine from windowed to fullscreen but from fullscreen to window: crash!
My toggling code:-----------------
if(fullscreen) videoFlags |= SDL_FULLSCREEN;
if(SDL_SetVideoMode(m_displayX, m_displayY, m_bpp, videoFlags) == NULL) {
LOG(“Failed to change resolution: %s\n”, SDL_GetError());
}
videoFlags is set to SDL_OPENGL and screen mode parameters to 640x480x16.
My configuration is DX 7.0 + Matrox G200
Any ideas what’s wrong?
DirectDraw2::SetCooperativeLevel: Unknown DirectDraw error: 0x88760239
…is what I get when I try to toggle the fullscreen mode in Win98. It works
fine from windowed to fullscreen but from fullscreen to window: crash!
My toggling code:
if(fullscreen) videoFlags |= SDL_FULLSCREEN;
if(SDL_SetVideoMode(m_displayX, m_displayY, m_bpp, videoFlags) == NULL) {
LOG(“Failed to change resolution: %s\n”, SDL_GetError());
}
videoFlags is set to SDL_OPENGL and screen mode parameters to 640x480x16.
Are you using the latest CVS snapshot?
See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
Are you using the latest CVS snapshot?
See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
This happens with SDL 1.1.3. I downloaded the CVS snapshot for Thu Jul 20.
It is even worse. I can’t toggle fullscreen at all. The resolution is
changed correctly but the window is not centered (the upper left corner of
the window is in the center of the screen) and SDL stops to react to
keypresses. Am I the only one experiencing this?