util: add force_gl_names_reuse for SWKOTOR.

SWKOTOR is expecting texture names generated by glGenTextures() to
be small enough and crashes otherwise.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11527>
This commit is contained in:
Paul Gofman 2021-06-22 18:01:51 +03:00 committed by Marge Bot
parent a9e3ddfc63
commit bdd8646306
1 changed files with 8 additions and 0 deletions

View File

@ -626,6 +626,14 @@ TODO: document the other workarounds.
<option name="glsl_correct_derivatives_after_discard" value="true" />
</application>
<!-- Workaround for STAR WARS: Knights of the Old Republic relying on
non-specified OpenGL behavior (expecting texture names to be
small enough to fit in the static array).
-->
<application name="SWKOTOR (wine)" executable="swkotor.exe">
<option name="force_gl_names_reuse" value="true"/>
</application>
<!-- Vulkan workarounds: -->
<!-- Works around the game not starting (does not deal with