[Mesa-dev] [Bug 93551] Divinity: Original Sin Enhanced Edition(Native) crash on start

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 15 06:24:49 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=93551

--- Comment #70 from Thomas Crider <gloriouseggroll at gmail.com> ---
Marek Olšák this patch for glxcmds.c is necessary for the game to run at all,
without it the game crashes:

+   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;

as for not setting envvars, in my current patch I made dri_context set an
envvar and getstring read that envvar because I wasn't sure how to set the
vendor string in dri_context, and I wasn't sure how to use driQueryOptionstr in
getstring in order to do so.

I have a modified patch which currently does this instead in dri_context:

   if (driQueryOptionstr(optionCache, "allow_vendor_override")) {
      ctx_config->vendor==driQueryOptionstr(optionCache,
"allow_vendor_override");
   }

obv. ctx_config->vendor is wrong, but I don't know the correct syntax.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190115/f6ab880c/attachment-0001.html>


More information about the mesa-dev mailing list