Crash when exiting from fullscreen!

hi,
i am using SDL for a 3d engine … but i am facing problems with fullscreen …

  1. i cannot toggle from windowed mode to fullscreen mode or vice versa …
  2. if i am in fullscreen mode and a popup,dialog appears the program crashes … i
    guess this is related to the first problem since it has to change resolution and switch
    from fullscreen version…
  3. sometimes when i am exiting the application while in full screen the app crashes…

i am using SDL with OpenGL on windows XP. i have also tried on Win2K with similar results.
thanks in advance,
sohyl.
P.S. i tried searching the archives before posting … i know that the archives can be searched using google … but i forgot how to do that … maybe that info shud be put up on the list and archive site.---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

sohyl siddiqui wrote:

hi,

i am using SDL for a 3d engine … but i am facing problems with
fullscreen …

  1. i cannot toggle from windowed mode to fullscreen mode or vice versa

  2. if i am in fullscreen mode and a popup,dialog appears the program
    crashes … i

    guess this is related to the first problem since it has to change
    resolution and switch

    from fullscreen version…

  3. sometimes when i am exiting the application while in full screen
    the app crashes…

Do you have some code to reproduce your problem ?

i am using SDL with OpenGL on windows XP. i have also tried on Win2K
with similar results.

thanks in advance,

sohyl.

P.S. i tried searching the archives before posting … i know that
the archives can be searched using google … but i forgot how to do
that … maybe that info shud be put up on the list and archive site.

I use google with “site:libsdl.org”

Stephane