From 4193f8a3a9f10b563c8fada163c3a6d3860f3457 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Sat, 29 Sep 2012 22:44:05 +0200 Subject: Fix for transparent objects and fadeouts --- src/graphics/core/texture.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/graphics/core/texture.h') diff --git a/src/graphics/core/texture.h b/src/graphics/core/texture.h index 3ebbee5..49b29f8 100644 --- a/src/graphics/core/texture.h +++ b/src/graphics/core/texture.h @@ -22,6 +22,8 @@ #pragma once +#include "graphics/core/color.h" + #include "math/intpoint.h" @@ -175,6 +177,8 @@ struct TextureStageParams TexWrapMode wrapS; //! Wrap mode for 2nd tex coord TexWrapMode wrapT; + //! Constant color factor (for TEX_MIX_ARG_FACTOR) + Color factor; //! Constructor; calls LoadDefault() TextureStageParams() -- cgit v1.2.3-1-g7c22