Fix white sbars in -sgl.

(Thanks to super_ice for the patch)
This commit is contained in:
Ragnvald Maartmann-Moe IV 2001-03-11 21:37:32 +00:00
parent b4538150bc
commit 3217faa319
2 changed files with 4 additions and 0 deletions

View file

@ -44,6 +44,7 @@
#include "host.h" #include "host.h"
#include "qargs.h" #include "qargs.h"
#include "qendian.h" #include "qendian.h"
#include "sbar.h"
#include "sys.h" #include "sys.h"
#include "va.h" #include "va.h"
#include "glquake.h" #include "glquake.h"
@ -117,6 +118,7 @@ GL_EndRendering (void)
{ {
glFlush (); glFlush ();
SDL_GL_SwapBuffers (); SDL_GL_SwapBuffers ();
Sbar_Changed ();
} }
void void

View file

@ -46,6 +46,7 @@
#include "host.h" #include "host.h"
#include "qargs.h" #include "qargs.h"
#include "qendian.h" #include "qendian.h"
#include "sbar.h"
#include "sys.h" #include "sys.h"
#include "va.h" #include "va.h"
@ -118,6 +119,7 @@ GL_EndRendering (void)
{ {
glFlush (); glFlush ();
SDL_GL_SwapBuffers (); SDL_GL_SwapBuffers ();
Sbar_Changed ();
} }
void void