summaryrefslogtreecommitdiff
path: root/src/blitter/32bpp_sse4.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-01-13 18:06:53 +0000
committerrubidium <rubidium@openttd.org>2014-01-13 18:06:53 +0000
commit3a44e22b1a52704c92ca0a25b2c71d032540f8ea (patch)
tree40883402aa4df5c13c31dbcbf6fc46e3e97ae2e2 /src/blitter/32bpp_sse4.cpp
parent70901e04c55490d7c661f7fa5c31193860e648af (diff)
downloadopenttd-3a44e22b1a52704c92ca0a25b2c71d032540f8ea.tar.xz
(svn r26256) -Codechange: do not load some data when it is not (often) used later on (MJP)
Diffstat (limited to 'src/blitter/32bpp_sse4.cpp')
-rw-r--r--src/blitter/32bpp_sse4.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/blitter/32bpp_sse4.cpp b/src/blitter/32bpp_sse4.cpp
index 4feebc221..619110cb6 100644
--- a/src/blitter/32bpp_sse4.cpp
+++ b/src/blitter/32bpp_sse4.cpp
@@ -49,11 +49,6 @@ inline void Blitter_32bppSSE4::Draw(const Blitter::BlitterParams *bp, ZoomLevel
/* Load these variables into register before loop. */
const __m128i a_cm = ALPHA_CONTROL_MASK;
const __m128i pack_low_cm = PACK_LOW_CONTROL_MASK;
- const __m128i briAB_cm = BRIGHTNESS_LOW_CONTROL_MASK;
- const __m128i div_cleaner = BRIGHTNESS_DIV_CLEANER;
- const __m128i ob_check = OVERBRIGHT_PRESENCE_MASK;
- const __m128i ob_mask = OVERBRIGHT_VALUE_MASK;
- const __m128i ob_cm = OVERBRIGHT_CONTROL_MASK;
const __m128i tr_nom_base = TRANSPARENT_NOM_BASE;
for (int y = bp->height; y != 0; y--) {