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
#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);
#include "quakedef.h"
-// Tell startup code that we have a client
-int cl_available = true;
-
// global video state
viddef_t vid;
#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);