Enable linear filtering for frame images.

This commit is contained in:
Bartosz Taudul 2020-07-29 13:31:26 +02:00
parent 25ee7f945b
commit 3e3f8aaabf

View File

@ -14,8 +14,8 @@ void* MakeTexture()
GLuint tex;
glGenTextures( 1, &tex );
glBindTexture( GL_TEXTURE_2D, tex );
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST );
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST );
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR );
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR );
return (void*)(intptr_t)tex;
}