summaryrefslogtreecommitdiff
path: root/src/waffle/glx/glx_platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/waffle/glx/glx_platform.c')
-rw-r--r--src/waffle/glx/glx_platform.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/waffle/glx/glx_platform.c b/src/waffle/glx/glx_platform.c
index 658c132..8ddcfcb 100644
--- a/src/waffle/glx/glx_platform.c
+++ b/src/waffle/glx/glx_platform.c
@@ -34,6 +34,7 @@
#include "glx_display.h"
#include "glx_platform.h"
#include "glx_window.h"
+#include "glx_wrappers.h"
static const struct wcore_platform_vtbl glx_platform_vtbl;
@@ -88,9 +89,9 @@ glx_platform_make_current(struct wcore_platform *wc_self,
struct wcore_window *wc_window,
struct wcore_context *wc_ctx)
{
- return glXMakeCurrent(glx_display(wc_dpy)->x11.xlib,
- wc_window ? glx_window(wc_window)->x11.xcb : 0,
- wc_ctx ? glx_context(wc_ctx)->glx : NULL);
+ return wrapped_glXMakeCurrent(glx_display(wc_dpy)->x11.xlib,
+ wc_window ? glx_window(wc_window)->x11.xcb : 0,
+ wc_ctx ? glx_context(wc_ctx)->glx : NULL);
}
static void*