From 0edf2da7ba3257d31053a6a18927fc37b7441260 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Sat, 14 Dec 2019 18:42:37 +0000 Subject: 3DS: Fix compilation --- backends/platform/3ds/sprite.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/platform/3ds') diff --git a/backends/platform/3ds/sprite.cpp b/backends/platform/3ds/sprite.cpp index 74805b40cb..1b4383706e 100644 --- a/backends/platform/3ds/sprite.cpp +++ b/backends/platform/3ds/sprite.cpp @@ -51,8 +51,8 @@ void Sprite::create(uint16 width, uint16 height, const Graphics::PixelFormat &f) actualWidth = width; actualHeight = height; format = f; - w = MAX(Common::nextHigher2(width), 64u); - h = MAX(Common::nextHigher2(height), 64u); + w = MAX(Common::nextHigher2(width), 64u); + h = MAX(Common::nextHigher2(height), 64u); pitch = w * format.bytesPerPixel; dirtyPixels = true; -- cgit v1.2.3