Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c
index 63f4921..e1ab885 100644
--- a/src/glx/glxcmds.c
+++ b/src/glx/glxcmds.c
@@ -2611,6 +2611,13 @@ _X_EXPORT void (*glXGetProcAddressARB(const GLubyte * procName)) (void)
typedef void (*gl_function) (void);
gl_function f;
+ if (strcmp((const char *) procName, "glNamedStringARB") == 0 ||
+ strcmp((const char *) procName, "glDeleteNamedStringARB") == 0 ||
+ strcmp((const char *) procName, "glCompileShaderIncludeARB") == 0 ||
+ strcmp((const char *) procName, "glIsNamedStringARB") == 0 ||
+ strcmp((const char *) procName, "glGetNamedStringARB") == 0 ||
+ strcmp((const char *) procName, "glGetNamedStringivARB") == 0)
+ return NULL;
/* Search the table of GLX and internal functions first. If that
* fails and the supplied name could be a valid core GL name, try
@axfelix

This comment has been minimized.

Copy link

commented May 21, 2016

is the intent to get this merged?

@karolherbst

This comment has been minimized.

Copy link
Owner Author

commented May 22, 2016

usually hacks don't get merged

@axfelix

This comment has been minimized.

Copy link

commented Jun 21, 2016

Right, but that means Divinity will never be supported out of the box on Mesa -- was hoping there was a solution coming for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.