summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-09-12 10:52:07 +1000
committerTimothy Arceri <[email protected]>2018-09-18 19:34:54 +1000
commit024abd3534a171ae4ee1532a078f3af68eb6fdea (patch)
tree49a24bf75b9a43f19aff9f9dfab8f1dd49869636
parent64ec50d52fa691cc1712df1d7eebea90552b7c2e (diff)
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 <[email protected]>
-rw-r--r--src/util/00-mesa-defaults.conf4
1 files changed, 4 insertions, 0 deletions
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. -->