diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-03-03 13:34:23 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-03-03 13:34:23 +0300 |
commit | b42a3d24853195150130df513353c034ac528933 (patch) | |
tree | acfd20a730e5586127f2eeb04991f00e469b2b89 /source/blender/gpu/intern | |
parent | f2bc3dd67806e0757a8e952516337b37ee987f19 (diff) |
Another stability commit for legacy users - don't crash when toggling
dyntopo just notify user that their system doesn't support it.
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index c7e89e50b7e..f9bdaad832a 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -263,6 +263,11 @@ int GPU_non_power_of_two_support(void) return GLEW_ARB_texture_non_power_of_two; } +int GPU_vertex_buffer_support(void) +{ + return GLEW_ARB_vertex_buffer_object || GLEW_VERSION_1_5; +} + int GPU_display_list_support(void) { return !GG.dlistsdisabled; |