bobbi228 / quadra

Automatically exported from code.google.com/p/quadra
0 stars 0 forks source link

SDL_Quit() isn't called in the Linux client #50

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
On my system when quitting Quadra, X11 doesn't restore its resolution and
keeps the 640x480 resolution quadra uses. This is quite annoying.

I could track that down that SDL_Quit() isn't called under Linux (but in
the windows-version it is called!). I fixed that by calling delete_obj()
after start_game() in the main()-Function in skelton/svgalib/main.cpp which
does a call to SDL_Quit().

Original issue reported on code.google.com by pie...@network-x.de on 4 Apr 2008 at 8:06

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
That's true, I'll investigate and fix as required.

Original comment by rveill...@gmail.com on 8 Apr 2008 at 12:45

GoogleCodeExporter commented 8 years ago
Thank you 'pie...', I have added delete_obj() on Linux build.
Fixed in revision http://code.google.com/p/quadra/source/detail?r=460

Original comment by rveill...@gmail.com on 12 Apr 2008 at 2:28

GoogleCodeExporter commented 8 years ago

Original comment by pphaneuf on 23 Aug 2014 at 11:50