Mesa (staging/18.2): util: use force_compat_profile for Wolfenstein The Old Blood

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Oct 11 08:26:14 UTC 2018


Module: Mesa
Branch: staging/18.2
Commit: e20307725aec8efa5bb2dc8fcb4f4d0475c6296e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e20307725aec8efa5bb2dc8fcb4f4d0475c6296e

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Wed Sep 12 10:52:07 2018 +1000

util: use force_compat_profile for Wolfenstein The Old Blood

This game is looking for some odd extension after creating a core
context such as ARB_vertex_program and EXT_framebuffer_object.

Rather then enabling these in core this forces the game to use
compat. This allows the game to run and seems to work without
issues. All other id tech games/engines use a compat profile.

Reviewed-by: Marek Olšák <marek.olsak at amd.com>
(cherry picked from commit 024abd3534a171ae4ee1532a078f3af68eb6fdea)

---

 src/util/drirc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/util/drirc b/src/util/drirc
index f4dd578cf6..60db3f79f1 100644
--- a/src/util/drirc
+++ b/src/util/drirc
@@ -193,6 +193,10 @@ TODO: document the other workarounds.
             <option name="glsl_correct_derivatives_after_discard" value="true"/>
         </application>
 
+        <application name="Wolfenstein The Old Blood" executable="WolfOldBlood_x64.exe">
+            <option name="force_compat_profile" value="true" />
+        </application>
+
         <!-- The GL thread whitelist is below, workarounds are above.
              Keep it that way. -->
 




More information about the mesa-commit mailing list