From 91882d3ba171870b0d11a87db87f9a1b7e2e5aca Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sat, 30 Jan 2010 09:53:55 +0000 Subject: Fix #19980: crash with opengl render active viewport. --- source/blender/gpu/intern/gpu_extensions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/gpu') 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 -- cgit v1.2.3