Skip to content

Commit 28f6b9e

Browse files
Frogging101bylaws
authored andcommitted
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 <[email protected]> ValveSoftware/wine#211 CW-Bug-Id: #23791
1 parent f3dbe30 commit 28f6b9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dlls/winex11.drv/opengl.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2385,7 +2385,7 @@ static void gen_texture( struct wgl_context *ctx, GLuint *tex, enum fshack_textu
23852385
{
23862386
const char *sgi = getenv( "SteamGameId" );
23872387

2388-
texture_name_hack = sgi && (!strcmp( sgi, "6020" ) || !strcmp( sgi, "2200" ) || !strcmp( sgi, "2350" ));
2388+
texture_name_hack = sgi && (!strcmp( sgi, "6020" ) || !strcmp( sgi, "2200" ) || !strcmp( sgi, "2350" ) || !strcmp( sgi, "273590" ));
23892389
}
23902390

23912391
if (!texture_name_hack || opengl_funcs.gl.p_glIsTexture( texture_names[type] ))

0 commit comments

Comments
 (0)