mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fix terrain tessellation when there is insufficient tris in renderergl2
This commit is contained in:
parent
1f599e62c6
commit
83caae7586
1 changed files with 1 additions and 1 deletions
|
@ -998,7 +998,7 @@ static void R_DoTriSplitting()
|
|||
//
|
||||
// make sure there are sufficient number of tris
|
||||
//
|
||||
if (g_tri.nFree < 14 || g_vert.nFree < 14) {
|
||||
if (g_tri.nFree < 14*2 || g_vert.nFree < 14) {
|
||||
ri.Printf(PRINT_DEVELOPER, "WARNING: aborting terrain tessellation -- insufficient tris\n");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue