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
Fix initial x11 context
gh-pages
falkTX
10 years ago
parent
304054af33
commit
5cdf7878a4
2 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
dgl/Base.hpp
+2
-0
dgl/src/pugl/pugl_x11.c
+ 2
- 0
dgl/Base.hpp
View File
@@ -76,7 +76,9 @@
#ifdef DISTRHO_OS_MAC
# include "OpenGL/gl.h"
#else
# define GL_GLEXT_PROTOTYPES
# include "GL/gl.h"
# include "GL/glext.h"
#endif
// -----------------------------------------------------------------------
+ 2
- 0
dgl/src/pugl/pugl_x11.c
View File
@@ -147,6 +147,8 @@ puglCreateWindow(PuglView* view, const char* title)
XFree(vi);
glXMakeCurrent(view->impl->display, view->impl->win, view->impl->ctx);
return 0;
}
Write
Preview
Loading…
Cancel
Save