From 591869ee212806e271b1c924ece1f7d44daf2a06 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Jun 2012 00:42:57 +0300 Subject: Fix code style. --- src/resources/image.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/resources/image.cpp') diff --git a/src/resources/image.cpp b/src/resources/image.cpp index a4be43e4e..c642980af 100644 --- a/src/resources/image.cpp +++ b/src/resources/image.cpp @@ -271,7 +271,8 @@ void Image::setAlpha(float alpha) uint8_t a = static_cast( static_cast(sourceAlpha) * mAlpha); - uint32_t c = (static_cast(mSDLSurface->pixels))[i]; + uint32_t c = (static_cast( + mSDLSurface->pixels))[i]; c &= ~fmt->Amask; c |= ((a >> fmt->Aloss) << fmt->Ashift & fmt->Amask); (static_cast(mSDLSurface->pixels))[i] = c; -- cgit v1.2.3-70-g09d2