mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 13:21:20 +00:00
Merge branch 'modernmodelmishap' into 'next'
Don't adjust texture coords of nonexistent gpatch (resolves #1242) Closes #1242 See merge request STJr/SRB2!2469
This commit is contained in:
commit
9ff0bea92c
1 changed files with 3 additions and 0 deletions
|
@ -1154,6 +1154,9 @@ static void adjustTextureCoords(model_t *model, patch_t *patch)
|
|||
int i;
|
||||
GLPatch_t *gpatch = ((GLPatch_t *)patch->hardware);
|
||||
|
||||
if (!gpatch)
|
||||
return;
|
||||
|
||||
for (i = 0; i < model->numMeshes; i++)
|
||||
{
|
||||
int j;
|
||||
|
|
Loading…
Reference in a new issue