Workaround for a bug in the Linux ATI proprietary driver; it does not put the current...
authormolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 19 Feb 2006 09:25:42 +0000 (09:25 +0000)
committermolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 19 Feb 2006 09:25:42 +0000 (09:25 +0000)
commit71a40c87725f524caabcbdffce48bd39eebf415e
tree3d152a8aa6b55242673fe722ca1c6fc67b796859
parent0bb405b5672b23600a696e546900eeaabe4935b6
Workaround for a bug in the Linux ATI proprietary driver; it does not put the current video mode in the first slot in the array returned by XF86VidModeGetAllModeLines, which can lead to a crash in VID_Shutdown. Also, fixed a small memory leak (the video mode array was never freed)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5996 d7cf8633-e32d-0410-b094-e92efae38249
vid_glx.c