From dd6e0b63f21ebb12d02ad998d22a0f324911c383 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Fri, 18 Aug 2017 21:12:44 +0200 Subject: [PATCH] - Fix typo in pal drawers that caused rendering errors for non-64x64 flats --- src/swrenderer/drawers/r_draw_pal.cpp | 40 +++++++++++++-------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/swrenderer/drawers/r_draw_pal.cpp b/src/swrenderer/drawers/r_draw_pal.cpp index a5c644b9e..d3abb7135 100644 --- a/src/swrenderer/drawers/r_draw_pal.cpp +++ b/src/swrenderer/drawers/r_draw_pal.cpp @@ -2151,8 +2151,8 @@ namespace swrenderer } else { - uint8_t srcwidth = _srcwidth; - uint8_t srcheight = _srcheight; + uint32_t srcwidth = _srcwidth; + uint32_t srcheight = _srcheight; do { @@ -2222,8 +2222,8 @@ namespace swrenderer } else { - uint8_t srcwidth = _srcwidth; - uint8_t srcheight = _srcheight; + uint32_t srcwidth = _srcwidth; + uint32_t srcheight = _srcheight; do { @@ -2298,8 +2298,8 @@ namespace swrenderer } else { - uint8_t srcwidth = _srcwidth; - uint8_t srcheight = _srcheight; + uint32_t srcwidth = _srcwidth; + uint32_t srcheight = _srcheight; do { @@ -2338,8 +2338,8 @@ namespace swrenderer } else { - uint8_t srcwidth = _srcwidth; - uint8_t srcheight = _srcheight; + uint32_t srcwidth = _srcwidth; + uint32_t srcheight = _srcheight; do { @@ -2421,8 +2421,8 @@ namespace swrenderer } else { - uint8_t srcwidth = _srcwidth; - uint8_t srcheight = _srcheight; + uint32_t srcwidth = _srcwidth; + uint32_t srcheight = _srcheight; do { @@ -2474,8 +2474,8 @@ namespace swrenderer } else { - uint8_t srcwidth = _srcwidth; - uint8_t srcheight = _srcheight; + uint32_t srcwidth = _srcwidth; + uint32_t srcheight = _srcheight; do { @@ -2559,8 +2559,8 @@ namespace swrenderer } else { - uint8_t srcwidth = _srcwidth; - uint8_t srcheight = _srcheight; + uint32_t srcwidth = _srcwidth; + uint32_t srcheight = _srcheight; do { @@ -2603,8 +2603,8 @@ namespace swrenderer } else { - uint8_t srcwidth = _srcwidth; - uint8_t srcheight = _srcheight; + uint32_t srcwidth = _srcwidth; + uint32_t srcheight = _srcheight; do { @@ -2689,8 +2689,8 @@ namespace swrenderer } else { - uint8_t srcwidth = _srcwidth; - uint8_t srcheight = _srcheight; + uint32_t srcwidth = _srcwidth; + uint32_t srcheight = _srcheight; do { @@ -2746,8 +2746,8 @@ namespace swrenderer } else { - uint8_t srcwidth = _srcwidth; - uint8_t srcheight = _srcheight; + uint32_t srcwidth = _srcwidth; + uint32_t srcheight = _srcheight; do {