Browse Source

Update BitmapHandler.cpp

Nordsoft91 3 năm trước cách đây
mục cha
commit
fef3b7652b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      mapeditor/BitmapHandler.cpp

+ 1 - 1
mapeditor/BitmapHandler.cpp

@@ -81,7 +81,7 @@ namespace BitmapHandler
 		}
 		else
 		{
-			QImage image(pcx + it, width, height, width * 4, QImage::Format_RGB32);
+			QImage image(pcx + it, width, height, width * 3, QImage::Format_RGB888);
 			return image;
 		}
 	}