]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Undo moving cl_available. This really doesn't belong in system-specific
authorknghtbrd <knghtbrd@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 1 Jan 2004 16:45:56 +0000 (16:45 +0000)
committerknghtbrd <knghtbrd@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 1 Jan 2004 16:45:56 +0000 (16:45 +0000)
video code, but it's the only place for that kind of thing unless someone
wants to make the dedicated DarkPlaces binary a lot less bloated.  Not on
my priority list right now.

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

vid_glx.c
vid_shared.c
vid_wgl.c

index ab40fdf8fa154d497147c90f208fe2e5e2e3c9f5..6aeb59220f00dc40967e4142c61536c95383e05a 100644 (file)
--- a/vid_glx.c
+++ b/vid_glx.c
@@ -42,6 +42,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 #include "quakedef.h"
 
+// Tell startup code that we have a client
+int cl_available = true;
+
 //GLX prototypes
 XVisualInfo *(GLAPIENTRY *qglXChooseVisual)(Display *dpy, int screen, int *attribList);
 GLXContext (GLAPIENTRY *qglXCreateContext)(Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct);
index a6bc8a9f6c8e4ee6a1e538d74de42bb6a209903b..eb0cc8565425575c4577b483e17ab4f152fb4654 100644 (file)
@@ -1,9 +1,6 @@
 
 #include "quakedef.h"
 
-// Tell startup code that we have a client
-int cl_available = true;
-
 // global video state
 viddef_t vid;
 
index 85343a9ed69b96b0ad8cf2e479aaa08b615f8736..0448ba64a4c32e16a9a4546deb98ef7142a0e439 100644 (file)
--- a/vid_wgl.c
+++ b/vid_wgl.c
@@ -24,6 +24,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include "resource.h"
 #include <commctrl.h>
 
+// Tell startup code that we have a client
+int cl_available = true;
+
 int (WINAPI *qwglChoosePixelFormat)(HDC, CONST PIXELFORMATDESCRIPTOR *);
 int (WINAPI *qwglDescribePixelFormat)(HDC, int, UINT, LPPIXELFORMATDESCRIPTOR);
 //int (WINAPI *qwglGetPixelFormat)(HDC);