1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Update bitmap_loader_pnm.cpp

This commit is contained in:
punto-
2016-01-11 11:55:20 -03:00
parent 9e8f647440
commit 4a5db60843

View File

@@ -171,7 +171,7 @@ RES ResourceFormatPBM::load(const String &p_path,const String& p_original_path,E
DVector<uint8_t>::Read r=token.read();
int bitwidth = width;
if (bidtwidth % 8)
if (bitwidth % 8)
bitwidth+=8-(bitwidth%8);
for(int i=0;i<height;i++) {