mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-07 05:37:01 +02:00
Merge branch 'master' of https://github.com/XProger/OpenLara
This commit is contained in:
@@ -48,7 +48,7 @@ struct Texture : GAPI::Texture {
|
|||||||
|
|
||||||
ASSERT(tilesCount < COUNT(this->tiles));
|
ASSERT(tilesCount < COUNT(this->tiles));
|
||||||
for (int i = 0; i < tilesCount; i++)
|
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
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user