[Scummvm-cvs-logs] SF.net SVN: scummvm: [22487] residual/trunk/tinygl/texture.cpp

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Tue May 16 04:09:31 CEST 2006


Revision: 22487
Author:   aquadran
Date:     2006-05-16 02:29:40 -0700 (Tue, 16 May 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22487&view=rev

Log Message:
-----------
used interpolation of textures, it looks better

Modified Paths:
--------------
    residual/trunk/tinygl/texture.cpp
Modified: residual/trunk/tinygl/texture.cpp
===================================================================
--- residual/trunk/tinygl/texture.cpp	2006-05-16 09:20:12 UTC (rev 22486)
+++ residual/trunk/tinygl/texture.cpp	2006-05-16 09:29:40 UTC (rev 22487)
@@ -146,7 +146,9 @@
   if (width != 256 || height != 256) {
     pixels1 = (unsigned char *)gl_malloc(256 * 256 * 3);
     /* no interpolation is done here to respect the original image aliasing ! */
-    gl_resizeImageNoInterpolate(pixels1,256,256,(unsigned char *)pixels,width,height);
+    //gl_resizeImageNoInterpolate(pixels1,256,256,(unsigned char *)pixels,width,height);
+    // used interpolation anyway, it look much better :) --- aquadran
+	gl_resizeImage(pixels1,256,256,(unsigned char *)pixels,width,height);
     do_free=1;
     width=256;
     height=256;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list