HOLD UP
This commit is contained in:
parent
714c997aac
commit
35d6da159d
|
@ -677,8 +677,6 @@ static void HWR_LoadPatchFlat(GLMipmap_t *grMipmap, lumpnum_t flatlumpnum)
|
||||||
grMipmap->height = (UINT16)SHORT(patch->height);
|
grMipmap->height = (UINT16)SHORT(patch->height);
|
||||||
|
|
||||||
R_FlatPatch(patch, Z_Malloc(grMipmap->width * grMipmap->height, PU_HWRCACHE, &grMipmap->grInfo.data));
|
R_FlatPatch(patch, Z_Malloc(grMipmap->width * grMipmap->height, PU_HWRCACHE, &grMipmap->grInfo.data));
|
||||||
|
|
||||||
Z_Free(patch);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void HWR_LoadTextureFlat(GLMipmap_t *grMipmap, INT32 texturenum)
|
static void HWR_LoadTextureFlat(GLMipmap_t *grMipmap, INT32 texturenum)
|
||||||
|
|
|
@ -1680,7 +1680,6 @@ boolean R_CheckIfPatch(lumpnum_t lump)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Z_Free(patch);
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue