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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-30 12:53:55 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-30 12:53:55 +0300
commit91882d3ba171870b0d11a87db87f9a1b7e2e5aca (patch)
tree69b618a0c17ea208fe9e123c2edb92b1c04c574c /source/blender/gpu
parent5e98d8c523bba0146d18a404c810ba9ebbf3a535 (diff)
Fix #19980: crash with opengl render active viewport.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index 48ef5fdb0aa..a5a8c626cbd 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -103,7 +103,7 @@ int GPU_non_power_of_two_support()
/* Exception for buggy ATI/Apple driver in Mac OS X 10.5/10.6,
* they claim to support this but can cause system freeze */
#ifdef __APPLE__
- if(strcmp(glGetString(GL_VENDOR), "ATI Technologies Inc.") == 0)
+ if(strcmp((char*)glGetString(GL_VENDOR), "ATI Technologies Inc.") == 0)
return 0;
#endif