[Bf-blender-cvs] [90a1d491800] blender2.8: Gawain: drop support for APPLE_vertex_array_object

Mike Erwin noreply at git.blender.org
Mon May 22 00:27:19 CEST 2017


Commit: 90a1d491800cf1021d158973813265e9da71dbdd
Author: Mike Erwin
Date:   Sun May 21 16:48:54 2017 -0400
Branches: blender2.8
https://developer.blender.org/rB90a1d491800cf1021d158973813265e9da71dbdd

Gawain: drop support for APPLE_vertex_array_object

Recent versions of OpenGL support VAOs natively.

Part of T49012

===================================================================

M	intern/gawain/gawain/common.h

===================================================================

diff --git a/intern/gawain/gawain/common.h b/intern/gawain/gawain/common.h
index 71b284ba0ad..1c8153e750e 100644
--- a/intern/gawain/gawain/common.h
+++ b/intern/gawain/gawain/common.h
@@ -31,14 +31,3 @@
 #else
   #define APPLE_LEGACY 0
 #endif
-
-#if APPLE_LEGACY
-  #undef glGenVertexArrays
-  #define glGenVertexArrays glGenVertexArraysAPPLE
-
-  #undef glDeleteVertexArrays
-  #define glDeleteVertexArrays glDeleteVertexArraysAPPLE
-
-  #undef glBindVertexArray
-  #define glBindVertexArray glBindVertexArrayAPPLE
-#endif




More information about the Bf-blender-cvs mailing list