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:
sphere 2024-06-07 13:46:05 +00:00
commit 9ff0bea92c

View file

@ -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;