Skip to content
Snippets Groups Projects
Commit 9ff0bea9 authored by sphere's avatar sphere
Browse files

Merge branch 'modernmodelmishap' into 'next'

Don't adjust texture coords of nonexistent gpatch (resolves #1242)

Closes #1242

See merge request STJr/SRB2!2469
parents b2fa2cfb c0c1b8de
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment