1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-03-13 23:59:41 +01:00

turn off mipmaps and filtering for FFP

This commit is contained in:
XProger 2020-05-08 04:20:55 +03:00
parent 6ad091f59c
commit 03126a2d5f

View File

@ -48,7 +48,7 @@ struct Texture : GAPI::Texture {
ASSERT(tilesCount < COUNT(this->tiles));
for (int i = 0; i < tilesCount; i++)
this->tiles[i] = new Texture(tiles[i].width, tiles[i].height, 1, FMT_RGBA, OPT_MIPMAPS, tiles[i].data);
this->tiles[i] = new Texture(tiles[i].width, tiles[i].height, 1, FMT_RGBA, OPT_NEAREST, tiles[i].data);
}
#endif