diff --git a/aegisub/src/dialog_colorpicker.cpp b/aegisub/src/dialog_colorpicker.cpp index 251beb6f0..7dc618812 100644 --- a/aegisub/src/dialog_colorpicker.cpp +++ b/aegisub/src/dialog_colorpicker.cpp @@ -545,7 +545,7 @@ void ColorPickerRecent::OnSize(wxSizeEvent &) ColorPickerScreenDropper::ColorPickerScreenDropper(wxWindow *parent, int resx, int resy, int magnification) : wxControl(parent, -1, wxDefaultPosition, wxDefaultSize, STATIC_BORDER_FLAG) -, capture(resx * magnification, resy * magnification) +, capture(resx * magnification, resy * magnification, wxNativePixelFormat::BitsPerPixel) , resx(resx) , resy(resy) , magnification(magnification)