]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Moved cl_available definition to vid_shared.c
authorknghtbrd <knghtbrd@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 1 Jan 2004 04:01:00 +0000 (04:01 +0000)
committerknghtbrd <knghtbrd@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 1 Jan 2004 04:01:00 +0000 (04:01 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3773 d7cf8633-e32d-0410-b094-e92efae38249

vid_glx.c
vid_shared.c
vid_wgl.c

index ec9a998b71e0ea795daf4b070f32a2329972c593..293cd098660916f731adf6c46984acafc2720a99 100644 (file)
--- a/vid_glx.c
+++ b/vid_glx.c
@@ -42,8 +42,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 #include "quakedef.h"
 
-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 b60a16f452b153c656354de280c86bccd3cc27dd..de2f788dcd9ffaad5e095a4cd4df0c4e80bd7c53 100644 (file)
@@ -1,6 +1,9 @@
 
 #include "quakedef.h"
 
+// Tell startup code that we have a client
+int cl_available = true;
+
 // global video state
 viddef_t vid;
 
index e23b1bc7ca84849d3d06363a4ea7b4bbfcc2f2ed..85343a9ed69b96b0ad8cf2e479aaa08b615f8736 100644 (file)
--- a/vid_wgl.c
+++ b/vid_wgl.c
@@ -24,8 +24,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include "resource.h"
 #include <commctrl.h>
 
-int cl_available = true;
-
 int (WINAPI *qwglChoosePixelFormat)(HDC, CONST PIXELFORMATDESCRIPTOR *);
 int (WINAPI *qwglDescribePixelFormat)(HDC, int, UINT, LPPIXELFORMATDESCRIPTOR);
 //int (WINAPI *qwglGetPixelFormat)(HDC);