From 04e4b72e063702dc16cf41dd97c5776d03742bde Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Mon, 4 Apr 2005 15:57:50 +0000 Subject: [PATCH] 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 --- intern/bmfont/intern/BMF_BitmapFont.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/intern/bmfont/intern/BMF_BitmapFont.cpp b/intern/bmfont/intern/BMF_BitmapFont.cpp index a2c59351c14..421ef45d5df 100644 --- a/intern/bmfont/intern/BMF_BitmapFont.cpp +++ b/intern/bmfont/intern/BMF_BitmapFont.cpp @@ -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