diff options
Diffstat (limited to 'threading.cpp')
-rw-r--r-- | threading.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |