[Mesa-dev] [PATCH 2/2] util: use force_compat_profile for Wolfenstein The Old Blood

Timothy Arceri tarceri at itsqueeze.com
Wed Sep 12 00:52:07 UTC 2018


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.
---
 src/util/00-mesa-defaults.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index a68bc03027a..ca69dd164fd 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -198,6 +198,10 @@ TODO: document the other workarounds.
             <option name="allow_glsl_layout_qualifier_on_function_parameters" 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. -->
 
-- 
2.17.1



More information about the mesa-dev mailing list