diff options
author | Kent Mein <mein@cs.umn.edu> | 2005-04-04 19:57:50 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2005-04-04 19:57:50 +0400 |
commit | 04e4b72e063702dc16cf41dd97c5776d03742bde (patch) | |
tree | 98dd3ec4b460d84500177a87fb862ed312b3067a /intern/bmfont | |
parent | b7796f5481d6f5b298cdde88cdc5911f462d5939 (diff) |
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
Diffstat (limited to 'intern/bmfont')
-rw-r--r-- | intern/bmfont/intern/BMF_BitmapFont.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 |