]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix "vid_restart forgets to reload jpeg" bug
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 18 Jul 2008 08:00:21 +0000 (08:00 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 18 Jul 2008 08:00:21 +0000 (08:00 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8415 d7cf8633-e32d-0410-b094-e92efae38249

jpeg.c

diff --git a/jpeg.c b/jpeg.c
index 51fd81cbc6e30709b4c7355c63260bdb62ff18df..0422fe03f12e4aed795598de022e1e4df70dd52b 100644 (file)
--- a/jpeg.c
+++ b/jpeg.c
@@ -501,6 +501,7 @@ Unload the JPEG DLL
 void JPEG_CloseLibrary (void)
 {
        Sys_UnloadLibrary (&jpeg_dll);
+       jpeg_tried_loading = false; // allow retry
 }