Skip to content
Snippets Groups Projects
Commit c0c1b8de authored by candelavla's avatar candelavla
Browse files

don't adjust texture coords of nonexistant gpatch

parent a75fbd22
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