diff options
Diffstat (limited to 'src/resources/image.cpp')
-rw-r--r-- | src/resources/image.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp index a29d475d..dbed38a2 100644 --- a/src/resources/image.cpp +++ b/src/resources/image.cpp @@ -496,6 +496,7 @@ Image *Image::_GLload(SDL_Surface *tmpImage) tmpImage->pixels); glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); + glTexParameteri(mTextureType, GL_TEXTURE_MAG_FILTER, GL_NEAREST); if (SDL_MUSTLOCK(tmpImage)) SDL_UnlockSurface(tmpImage); |