diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-04-05 14:25:40 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-04-05 14:25:40 +0400 |
commit | ec5527cb520366e95cf3fe3c594d9e8f65f1b7ad (patch) | |
tree | f295ba26bbec98ee796599b2e2894c28a4377b88 /source/blender/gpu/GPU_extensions.h | |
parent | 8b7d1775c3977f5afaa40363502f826b37266475 (diff) |
Fix #21349: triple buffer drawing doesn't work well with thousands of
colors setting on Mac, just disabled it in that case.
Diffstat (limited to 'source/blender/gpu/GPU_extensions.h')
-rw-r--r-- | source/blender/gpu/GPU_extensions.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 */ |