diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-12-05 21:45:18 -0500 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-12-05 21:45:18 -0500 |
commit | cdb9e1f7240cb0716b7d99df5e1fd7c3fc3407a8 (patch) | |
tree | b8d08b5dc18401afdb9d9e0f9e476a81e54eb108 /threading.cpp | |
parent | ed27ab2e6bbe40120702dcc57e9b21434bfb4944 (diff) |
v2.2, color space + brush improvements
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; |