Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2019-07-19 01:51:42 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2019-07-19 01:51:42 +0300
commit1c0c5f5282b0aa996537b9dd328afe27c4947ca6 (patch)
tree7ba250d34f8f2d30629747eb7ffd6fa97ee810de /server/TracyTexture.cpp
parentdc992266fd4b32f38b479958407f9ab0dbbfe942 (diff)
Disable bilinear filtering for frame images.
Diffstat (limited to 'server/TracyTexture.cpp')
-rw-r--r--server/TracyTexture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/TracyTexture.cpp b/server/TracyTexture.cpp
index af2bb87f..1083fd81 100644
--- a/server/TracyTexture.cpp
+++ b/server/TracyTexture.cpp
@@ -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_LINEAR );
- glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR );
+ glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST );
+ glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST );
return (void*)(intptr_t)tex;
}