From 3e3f8aaabff63e81b8bbbd79b8db9b11ca2c2708 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 29 Jul 2020 13:31:26 +0200 Subject: [PATCH] Enable linear filtering for frame images. --- server/TracyTexture.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/TracyTexture.cpp b/server/TracyTexture.cpp index 99ea2164..40735097 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_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; }