瀏覽代碼

Update BitmapHandler.cpp

Nordsoft91 3 年之前
父節點
當前提交
fef3b7652b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
 		}
 	}