From 52ddfccfaa53b582c31f42fc93e99d3896028047 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 29 Jan 2006 00:18:27 +0000 Subject: [PATCH] Removed moodles' multisample stuff. That's not how it's done. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1907 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/image.c | 1 + engine/gl/gl_draw.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) 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