diff --git a/src/Backends/Rendering/Software.cpp b/src/Backends/Rendering/Software.cpp index 572fc06b..cce7a35f 100644 --- a/src/Backends/Rendering/Software.cpp +++ b/src/Backends/Rendering/Software.cpp @@ -170,7 +170,11 @@ static void computeCheapRects(RenderBackend_Surface* surface) { for(unsigned int rx = 0; rx < rcolumns; rx++) { unsigned int px = rx * 16; unsigned int py = ry * 16; - RenderBackend_Rect rect = { .left = px, .top = py, .right = px + 16, .bottom = py + 16 }; + RenderBackend_Rect rect; + rect.left = px; + rect.top = py; + rect.right = px + 16; + rect.bottom = py + 16; if(rectUsesColorKey(surface, &rect) == false) { unsigned int rectOrigin = (px << 16) | py; surface->cheapRectangles->insert(rectOrigin);