mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 05:50:31 +00:00
Add @Azaezel's exception for Win32
"This chunk causes issues on the win8.1/non-SDL side."
This commit is contained in:
parent
320718327f
commit
eadd77272d
1 changed files with 6 additions and 1 deletions
|
|
@ -24,8 +24,13 @@
|
|||
#define T_GL_H
|
||||
#include "GL/glew.h"
|
||||
|
||||
// Slower but reliably detects extensions
|
||||
#if defined (TORQUE_OS_WIN)
|
||||
// This doesn't work on Mesa drivers.
|
||||
#define gglHasExtension(EXTENSION) GLEW_##EXTENSION
|
||||
#else
|
||||
// Slower but reliably detects extensions on Mesa.
|
||||
#define gglHasExtension(EXTENSION) glewGetExtension("GL_" # EXTENSION)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue