mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-06 11:47:58 -05:00
Flatten filament preview bitmaps to opaque RGB for native labels
This commit is contained in:
1 parent
78de3ad9cd
commit
206552674b
7 files changed
+69
-11
No files matched your search
@@ -1873,7 +1873,7 @@ void ColorPicker::render(wxDC& dc)
|
||||
#ifdef __WXMSW__
|
||||
wxSize size = GetSize();
|
||||
wxMemoryDC memdc;
|
||||
wxBitmap bmp(size.x, size.y);
|
||||
wxBitmap bmp(size.x, size.y, 24);
|
||||
memdc.SelectObject(bmp);
|
||||
memdc.Blit({ 0, 0 }, size, &dc, { 0, 0 });
|
||||
|
||||
|
||||
Reference in new issue
Block a user