DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs. Only bugfixes are accepted.
GNU General Public License v3.0
551
stars
107
forks
source link
Fix crash bug when GL_EXT_compiled_vertex_array does not exist. #346
Closed
weimzh closed 6 years ago
glDrawArrays() is a standard OpenGL 1.1 function, which does not belong to GL_EXT_compiled_vertex_array extension: https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_compiled_vertex_array.txt
The crash happened on Intel HD Graphics 520 + Mac OS X 10.13.3, as pglDrawArrays is a NULL pointer if GL_EXT_compiled_vertex_array does not exist.