aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/PlatWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index 723995407..2dfdfb1ee 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -2388,7 +2388,7 @@ void ListBoxX::RegisterImage(int type, const char *xpm_data) {
}
void ListBoxX::RegisterRGBAImage(int type, int width, int height, const unsigned char *pixelsImage) {
- images.Add(type, new RGBAImage(width, height, pixelsImage));
+ images.Add(type, new RGBAImage(width, height, 1.0, pixelsImage));
}
void ListBoxX::ClearRegisteredImages() {