From ec5527cb520366e95cf3fe3c594d9e8f65f1b7ad Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 5 Apr 2010 10:25:40 +0000 Subject: Fix #21349: triple buffer drawing doesn't work well with thousands of colors setting on Mac, just disabled it in that case. --- source/blender/gpu/GPU_extensions.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/gpu/GPU_extensions.h') diff --git a/source/blender/gpu/GPU_extensions.h b/source/blender/gpu/GPU_extensions.h index 686e89b8310..6b98ffdede7 100644 --- a/source/blender/gpu/GPU_extensions.h +++ b/source/blender/gpu/GPU_extensions.h @@ -57,9 +57,11 @@ typedef struct GPUShader GPUShader; void GPU_extensions_disable(void); void GPU_extensions_init(void); /* call this before running any of the functions below */ void GPU_extensions_exit(void); +int GPU_print_error(char *str); + int GPU_glsl_support(void); int GPU_non_power_of_two_support(void); -int GPU_print_error(char *str); +int GPU_24bit_color_support(void); /* GPU Types */ -- cgit v1.2.3