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(); DVector<uint8_t>::Read r=token.read();
int bitwidth = width; int bitwidth = width;
if (bidtwidth % 8) if (bitwidth % 8)
bitwidth+=8-(bitwidth%8); bitwidth+=8-(bitwidth%8);
for(int i=0;i<height;i++) { for(int i=0;i<height;i++) {