From 07e2dcfb108a4988eb61665864e5ae516b0aed18 Mon Sep 17 00:00:00 2001 From: John Brooks Date: Wed, 27 Dec 2023 22:06:11 -0500 Subject: [PATCH] fshack: Use texture name hack for Descent 3 Descent 3's OpenGL renderer will use a texture conflicting with the FS hack texture, and only a small rectangle in the bottom left corner will be rendered. Signed-off-by: John Brooks https://github.com/ValveSoftware/wine/pull/211 CW-Bug-Id: #23791 --- dlls/winex11.drv/opengl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index 2de1a26f537..3baf52cc9f8 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -2385,7 +2385,7 @@ static void gen_texture( struct wgl_context *ctx, GLuint *tex, enum fshack_textu { const char *sgi = getenv( "SteamGameId" ); - texture_name_hack = sgi && (!strcmp( sgi, "6020" ) || !strcmp( sgi, "2200" ) || !strcmp( sgi, "2350" )); + texture_name_hack = sgi && (!strcmp( sgi, "6020" ) || !strcmp( sgi, "2200" ) || !strcmp( sgi, "2350" ) || !strcmp( sgi, "273590" )); } if (!texture_name_hack || opengl_funcs.gl.p_glIsTexture( texture_names[type] ))