Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2005-04-04 19:57:50 +0400
committerKent Mein <mein@cs.umn.edu>2005-04-04 19:57:50 +0400
commit04e4b72e063702dc16cf41dd97c5776d03742bde (patch)
tree98dd3ec4b460d84500177a87fb862ed312b3067a
parentb7796f5481d6f5b298cdde88cdc5911f462d5939 (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
-rw-r--r--intern/bmfont/intern/BMF_BitmapFont.cpp3
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