From c5609ef93dde91bbe95f4d018c86795b039fea91 Mon Sep 17 00:00:00 2001 From: spacy51 Date: Wed, 13 Aug 2008 17:27:07 +0000 Subject: [PATCH] FIX compiling with NO_OGL git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@600 a31d4220-a93d-0410-bf67-fe4944624d44 --- src/win32/glfont.c | 4 +++- src/win32/glfont.h | 3 +++ src/win32/gzglfont.h | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/win32/glfont.c b/src/win32/glfont.c index f49a6789..4cf7bbb9 100644 --- a/src/win32/glfont.c +++ b/src/win32/glfont.c @@ -1,3 +1,5 @@ +#ifndef NO_OGL + //********************************************************* //GLFONT.CPP -- glFont routines //Copyright (c) 1998 Brad Fish @@ -151,4 +153,4 @@ void glFontTextOut (char *String, float x, float y, //End of file - +#endif // NO_OGL diff --git a/src/win32/glfont.h b/src/win32/glfont.h index 7e062922..0594fbe3 100644 --- a/src/win32/glfont.h +++ b/src/win32/glfont.h @@ -1,3 +1,5 @@ +#ifndef NO_OGL + //********************************************************* //GLFONT.H -- Header for GLFONT.CPP //Copyright (c) 1998 Brad Fish @@ -61,3 +63,4 @@ void glFontTextOut (char *String, float x, float y, #endif //End of file +#endif // NO_OGL diff --git a/src/win32/gzglfont.h b/src/win32/gzglfont.h index 65e19519..7cba301e 100644 --- a/src/win32/gzglfont.h +++ b/src/win32/gzglfont.h @@ -1,3 +1,5 @@ +#ifndef NO_OGL + #define GZGLFONT_SIZE 35096 @@ -255,3 +257,6 @@ unsigned char gzglfont[]= '\x16', '\x2D', '\x5A', '\xB4', '\xE9', '\xB1', '\xFF', '\x01', '\xF1', '\xAA', '\xBA', '\x4E', '\x18', '\x89', '\x00', '\x00' }; + + +#endif // NO_OGL