From 3217faa319c66c0a3959903660fcf51081eef6d1 Mon Sep 17 00:00:00 2001 From: Ragnvald Maartmann-Moe IV Date: Sun, 11 Mar 2001 21:37:32 +0000 Subject: [PATCH] Fix white sbars in -sgl. (Thanks to super_ice for the patch) --- nq/source/vid_sgl.c | 2 ++ qw/source/vid_sgl.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/nq/source/vid_sgl.c b/nq/source/vid_sgl.c index b6301bc9e..5dbb508aa 100644 --- a/nq/source/vid_sgl.c +++ b/nq/source/vid_sgl.c @@ -44,6 +44,7 @@ #include "host.h" #include "qargs.h" #include "qendian.h" +#include "sbar.h" #include "sys.h" #include "va.h" #include "glquake.h" @@ -117,6 +118,7 @@ GL_EndRendering (void) { glFlush (); SDL_GL_SwapBuffers (); + Sbar_Changed (); } void diff --git a/qw/source/vid_sgl.c b/qw/source/vid_sgl.c index dd00d276d..8864b511a 100644 --- a/qw/source/vid_sgl.c +++ b/qw/source/vid_sgl.c @@ -46,6 +46,7 @@ #include "host.h" #include "qargs.h" #include "qendian.h" +#include "sbar.h" #include "sys.h" #include "va.h" @@ -118,6 +119,7 @@ GL_EndRendering (void) { glFlush (); SDL_GL_SwapBuffers (); + Sbar_Changed (); } void