Update bitmap_loader_pnm.cpp
This commit is contained in:
parent
9e8f647440
commit
4a5db60843
1 changed files with 1 additions and 1 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Reference in a new issue