Fix renderergl1 warnings
This commit is contained in:
parent
eeaf0227f7
commit
d38039f975
3 changed files with 3 additions and 3 deletions
|
@ -1070,7 +1070,7 @@ int R_StitchPatches( int grid1num, int grid2num ) {
|
|||
}
|
||||
for (m = 0; m < 2; m++) {
|
||||
|
||||
if (grid2->height >= MAX_GRID_SIZE)
|
||||
if (!grid2 || grid2->height >= MAX_GRID_SIZE)
|
||||
break;
|
||||
if (m) offset2 = grid2->width-1;
|
||||
else offset2 = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue