Răsfoiți Sursa

Update BitmapHandler.cpp

Nordsoft91 3 ani în urmă
părinte
comite
fef3b7652b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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;
 		}
 	}