Skip to content

Instantly share code, notes, and snippets.

@craftyguy
Created March 19, 2018 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save craftyguy/113522f80fe84fa6bd460bc4f5d4ff74 to your computer and use it in GitHub Desktop.
Save craftyguy/113522f80fe84fa6bd460bc4f5d4ff74 to your computer and use it in GitHub Desktop.
From c3c7d493e6d5c65d269dedee0a3e06323a7a6013 Mon Sep 17 00:00:00 2001
From: Clayton Craft <clayton@craftyguy.net>
Date: Mon, 19 Mar 2018 22:28:12 +0000
Subject: [PATCH 2/2] Stub glXQueryDrawable
This is required by glxgears, though keep in mind that glxgears
may need this to be implemented to actually work..
---
src/glx/glx.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/glx/glx.c b/src/glx/glx.c
index 31e691a..b95766d 100644
--- a/src/glx/glx.c
+++ b/src/glx/glx.c
@@ -625,6 +625,9 @@ void glXSwapIntervalEXT(Display *display, GLXDrawable drawable, int interval) {
}
// misc stubs
+
+void glXQueryDrawable(glXQueryDrawable_ARG_EXPAND) {}
+
void glXCopyContext(Display *dpy, GLXContext src, GLXContext dst, unsigned long mask) {
PROXY_GLES(glXCopyContext);
}
--
2.16.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment