From a2e2f65ba3c9ac3b232c8dc558cc0ea91c06fc23 Mon Sep 17 00:00:00 2001 From: Tom Hicks Date: Sat, 25 Jun 2005 15:55:47 -0400 Subject: [PATCH] Changed: Changed the type of g_Screen to OpenArena::Window the subclass of SCREEN ~g2k --- include/mygl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/mygl.h b/include/mygl.h index 17ad15b..70f2384 100644 --- a/include/mygl.h +++ b/include/mygl.h @@ -13,6 +13,7 @@ #include "tga.h" #include "bmp.h" #include "strmanip.h" +#include "window.h" using namespace std; @@ -22,7 +23,7 @@ static HDC hDC=NULL; // Private GDI device context static HGLRC hRC=NULL; // Permanent rendering context static HINSTANCE hInstance; // Application instance #endif -static SCREEN g_Screen; +extern OpenArena::Window g_Screen; int InitGL(GLvoid); bool LoadGLTexture(string , GLuint&, GLuint = GL_LINEAR, GLuint = GL_LINEAR);