From cdb9e1f7240cb0716b7d99df5e1fd7c3fc3407a8 Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Mon, 5 Dec 2022 21:45:18 -0500 Subject: v2.2, color space + brush improvements --- threading.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'threading.cpp') diff --git a/threading.cpp b/threading.cpp index f1d7284..5a42ea7 100644 --- a/threading.cpp +++ b/threading.cpp @@ -62,7 +62,7 @@ Threading_BitmapOp(void *Data, void *OutputBuffer, render_type RenderType, recta rectangle RenderRegion = { TileWidth*x, TileHeight*y, TileWidth + TileWidth*x, TileHeight + TileHeight*y }; - if (RenderType == render_type_brush) { + if (RenderType != render_type_main) { RenderRegion.Min.x += InitialRenderRegion.Min.x; RenderRegion.Min.y += InitialRenderRegion.Min.y; RenderRegion.Max.x += InitialRenderRegion.Min.x; -- cgit v1.2.3