Skip to content

Commit

Permalink
[rend2-sp] Add r_patchStitching for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
SomaZ committed Feb 19, 2024
1 parent 49adb74 commit 15aae39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/rd-rend2/tr_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ cvar_t *r_aviMotionJpegQuality;
cvar_t *r_screenshotJpegQuality;
cvar_t *r_surfaceSprites;

cvar_t *r_patchStitching;

// the limits apply to the sum of all scenes in a frame --
// the main view, all the 3D icons, etc
#define DEFAULT_MAX_POLYS 600
Expand Down Expand Up @@ -1654,6 +1656,7 @@ void R_Register( void )
r_maxpolys = ri_Cvar_Get_NoComm( "r_maxpolys", XSTRING( DEFAULT_MAX_POLYS ), 0, "");
r_maxpolyverts = ri_Cvar_Get_NoComm( "r_maxpolyverts", XSTRING( DEFAULT_MAX_POLYVERTS ), 0, "" );

r_patchStitching = ri_Cvar_Get_NoComm("r_patchStitching", "1", CVAR_ARCHIVE, "Enable stitching of neighbouring patch surfaces" );
/*
Ghoul2 Insert Start
*/
Expand Down

0 comments on commit 15aae39

Please sign in to comment.