[Scummvm-cvs-logs] SF.net SVN: scummvm:[52367] scummvm/trunk/graphics/VectorRendererSpec.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Wed Aug 25 09:39:09 CEST 2010


Revision: 52367
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52367&view=rev
Author:   sev
Date:     2010-08-25 07:39:08 +0000 (Wed, 25 Aug 2010)

Log Message:
-----------
GUI: Fixed bug #2505686: "GUI: minor artifacts in rounded corners"

It is practically not possible to get rid of those completely
due to rounding errors with 16-bit surface.

Modified Paths:
--------------
    scummvm/trunk/graphics/VectorRendererSpec.cpp

Modified: scummvm/trunk/graphics/VectorRendererSpec.cpp
===================================================================
--- scummvm/trunk/graphics/VectorRendererSpec.cpp	2010-08-25 07:27:17 UTC (rev 52366)
+++ scummvm/trunk/graphics/VectorRendererSpec.cpp	2010-08-25 07:39:08 UTC (rev 52367)
@@ -164,7 +164,7 @@
 		x--; px -= pitch; \
 	} \
 	a2 = (T >> 8); \
-	a1 = ~a2; \
+	a1 = ~a2 >> 4;   \
 }
 
 


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