From 03126a2d5fbf1355a1d402bc1f5e5d9f2097c9ff Mon Sep 17 00:00:00 2001 From: XProger Date: Fri, 8 May 2020 04:20:55 +0300 Subject: [PATCH] turn off mipmaps and filtering for FFP --- src/texture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/texture.h b/src/texture.h index 5409b10..c3686fd 100644 --- a/src/texture.h +++ b/src/texture.h @@ -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