diff --git a/engine/client/image.c b/engine/client/image.c index eabde7f2e..ff759a977 100644 --- a/engine/client/image.c +++ b/engine/client/image.c @@ -1979,6 +1979,7 @@ int Mod_LoadHiResTexture(char *name, char *subpath, qboolean mipmap, qboolean al } else len = GL_LoadTexture32 (name, image_width, image_height, (unsigned*)data, mipmap, alpha); + BZ_Free(data); BZ_Free(buf); diff --git a/engine/gl/gl_draw.c b/engine/gl/gl_draw.c index e977a9b62..d38648a1c 100644 --- a/engine/gl/gl_draw.c +++ b/engine/gl/gl_draw.c @@ -3092,8 +3092,6 @@ done: if (gl_config.sgis_generate_mipmap&&mipmap) qglTexParameterf(GL_TEXTURE_2D, GL_GENERATE_MIPMAP_SGIS, GL_FALSE); - qglTexParameterf(GL_TEXTURE_2D, GL_MULTISAMPLE_ARB, GL_FALSE); - if (gl_config.ext_texture_filter_anisotropic) { qglTexParameterf (GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT,gl_anisotropy_factor); // without this, you could loose anisotropy on mapchange