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
path: root/intern
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-04-24 22:09:54 +0400
committerTon Roosendaal <ton@blender.org>2005-04-24 22:09:54 +0400
commitd40ba55c8c15656b5341ad60f46b80f900d108a1 (patch)
tree38a1ff1cae9923813e2e1a1e0c05889e58789c15 /intern
parentd8f23c8d3cb2a56740227d7a712123afec10cc19 (diff)
Adapted Nvidia hack for OSX; it checks for the gl string more narrow, to
also include othe 6800 card types. (reported in tracker) Still no real clue if this is OK for release... stupid driver bugs!
Diffstat (limited to 'intern')
-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 421ef45d5df..b626e5d20c3 100644
--- a/intern/bmfont/intern/BMF_BitmapFont.cpp
+++ b/intern/bmfont/intern/BMF_BitmapFont.cpp
@@ -76,7 +76,8 @@ static int is_a_really_crappy_nvidia_card(void) {
/* Do you understand the implication? Do you? */
if (well_is_it==-1) {
- well_is_it= (strcmp(glGetString(GL_RENDERER), "NVIDIA GeForce 6800 GT OpenGL Engine") == 0);
+ well_is_it= (strncmp(glGetString(GL_RENDERER), "NVIDIA GeForce 6800", 18) == 0);
+ printf("Is patched: %d\n", well_is_it);
}
return well_is_it;
}