remove this again
This commit is contained in:
1 parent
635b4110a4
commit
24e149634d
1 file changed
-10
@@ -412,16 +412,6 @@ static void HWR_GenerateTexture(INT32 texnum, GLMapTexture_t *gltex, boolean noe
|
||||
// patch may be NULL if glMipmap has been initialised already and makebitmap is false
|
||||
void HWR_MakePatch (patch_t *patch, GLPatch_t *glPatch, GLMipmap_t *glMipmap, boolean makebitmap)
|
||||
{
|
||||
if (glMipmap == NULL)
|
||||
return;
|
||||
|
||||
if (patch == NULL || glPatch == NULL)
|
||||
{
|
||||
Z_Free(glMipmap->data);
|
||||
glMipmap->data = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
// don't do it twice (like a cache)
|
||||
if (glMipmap->width == 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user