Moved the start of an ifdef so it includes vars specific to the ifdef

to get rid of warnings about unused vars (on non __APPLE__ system)

Kent
This commit is contained in:
Kent Mein 2005-04-04 15:57:50 +00:00
parent b7796f5481
commit 04e4b72e06

@ -86,10 +86,11 @@ void BMF_BitmapFont::DrawString(char* str)
{
GLint alignment;
unsigned char c;
#ifdef __APPLE__
GLint vp[4]; // hack stuff
GLubyte nullm = 0; // hack stuff
#ifdef __APPLE__
if(is_a_really_crappy_nvidia_card()) {
glGetIntegerv(GL_VIEWPORT, vp); // hack stuff