Skip to content

Commit

Permalink
Use packed texture loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Leeor Dicker committed Jul 1, 2023
1 parent ea0d9d4 commit b7723c0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions OP2-Landlord/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,7 @@ Graphics::Texture bmpToTexture(Graphics& graphics, EditorConfig& config, BitmapF

bmp.WriteIndexed(writer);

Graphics::Texture tileset = graphics.loadTexture(buffer, bufferSize);

return tileset;
return graphics.loadTexturePacked(buffer, bufferSize);
}


Expand Down

0 comments on commit b7723c0

Please sign in to comment.