[Scummvm-git-logs] scummvm master -> e05c57b64c2da6226b4ae8962a958d1c63fd1997

sev- sev at scummvm.org
Mon Dec 26 18:08:00 CET 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e05c57b64c GRAPHICS: Fix another instance of structures nested in templates


Commit: e05c57b64c2da6226b4ae8962a958d1c63fd1997
    https://github.com/scummvm/scummvm/commit/e05c57b64c2da6226b4ae8962a958d1c63fd1997
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-12-26T18:07:31+01:00

Commit Message:
GRAPHICS: Fix another instance of structures nested in templates

Changed paths:
    graphics/transparent_surface.cpp


diff --git a/graphics/transparent_surface.cpp b/graphics/transparent_surface.cpp
index bd18e5d..a0e175e 100644
--- a/graphics/transparent_surface.cpp
+++ b/graphics/transparent_surface.cpp
@@ -809,10 +809,6 @@ TransparentSurface *TransparentSurface::scale(uint16 newWidth, uint16 newHeight)
 
 	if (filteringMode == FILTER_BILINEAR) {
 
-		// NB: The actual order of these bytes may not be correct, but
-		// since all values are treated equal, that does not matter.
-		struct tColorRGBA { byte r; byte g; byte b; byte a; };
-
 		bool flipx = false, flipy = false; // TODO: See mirroring comment in RenderTicket ctor
 
 





More information about the Scummvm-git-logs mailing list