diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-05-19 12:47:55 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-05-19 15:14:46 +0300 |
commit | 60fc04fb9b4f112998ac42395a17b56cc6edec5c (patch) | |
tree | 929dd4d2868800a6c18ecdc4590590a22a853a0a /source/blender/gpu/intern/gpu_extensions.c | |
parent | bad8b91fd3c7c6f458f0830520b21fe628565cf2 (diff) |
Remove reference to WITH_GL_PROFILE_CORE
There is no more point of keep those around. ES20 may need special case
when/if we dabble with it again. Meanwhile no point on polluting the
code with this.
(ghost still has reference for the PROFILE, but that's reasonable)
Diffstat (limited to 'source/blender/gpu/intern/gpu_extensions.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index b1876e93876..502cfeb6f02 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -137,17 +137,7 @@ void gpu_extensions_init(void) * final 2.8 release will be unified on OpenGL 3.3 core profile, no required extensions * see developer.blender.org/T49012 for details */ -#if defined(WITH_GL_PROFILE_CORE) || defined(_WIN32) BLI_assert(GLEW_VERSION_3_3); -#elif defined(__APPLE__) - BLI_assert(GLEW_VERSION_2_1 && GLEW_EXT_gpu_shader4 - && GLEW_ARB_framebuffer_object - && GLEW_ARB_draw_elements_base_vertex - && GLEW_APPLE_flush_buffer_range); -#else - BLI_assert(GLEW_VERSION_3_3 || (GLEW_VERSION_3_0 && GLEW_ARB_draw_elements_base_vertex)); - /* vendor driver || Mesa compatibility profile */ -#endif glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, &GG.maxtextures); |