This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
DPF
mirror of
https://github.com/DISTRHO/DPF
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Use apple gl3 headers as needed; Allow build with glew
Signed-off-by: falkTX <falktx@falktx.com>
pull/316/head
falkTX
3 years ago
parent
610477ec0f
commit
23ac1c2e91
Signed by:
falkTX
<falktx@falktx.com>
GPG Key ID:
CDBAA37ABC74FBA0
1 changed files
with
10 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+10
-3
dgl/OpenGL.hpp
+ 10
- 3
dgl/OpenGL.hpp
View File
@@ -67,13 +67,20 @@
// OpenGL includes
#ifdef DISTRHO_OS_MAC
# include <OpenGL/gl.h>
# ifdef DGL_USE_OPENGL3
# include <OpenGL/gl3.h>
# include <OpenGL/gl3ext.h>
# else
# include <OpenGL/gl.h>
# endif
#else
# ifndef DISTRHO_OS_WINDOWS
# define GL_GLEXT_PROTOTYPES
# endif
# include <GL/gl.h>
# include <GL/glext.h>
# ifndef __GLEW_H__
# include <GL/gl.h>
# include <GL/glext.h>
# endif
#endif
// -----------------------------------------------------------------------
Write
Preview
Loading…
Cancel
Save