Skip to content

Commit 1373481

Browse files
committed
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 <john@fastquake.com>
1 parent a8514f9 commit 1373481

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dlls/winex11.drv/opengl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2384,7 +2384,7 @@ static void gen_texture( struct wgl_context *ctx, GLuint *tex, enum fshack_textu
23842384
{
23852385
const char *sgi = getenv( "SteamGameId" );
23862386

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

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

0 commit comments

Comments
 (0)