From 5d87dbd075360109436bb35e28eac5ba9320e80b Mon Sep 17 00:00:00 2001
From: dec05eba <dec05eba@protonmail.com>
Date: Thu, 13 Mar 2025 22:38:28 +0100
Subject: texture filter change

---
 src/image_writer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/image_writer.c')

diff --git a/src/image_writer.c b/src/image_writer.c
index 3b4b24a..c4d66f4 100644
--- a/src/image_writer.c
+++ b/src/image_writer.c
@@ -17,7 +17,7 @@ bool gsr_image_writer_init_opengl(gsr_image_writer *self, gsr_egl *egl, int widt
     self->egl = egl;
     self->width = width;
     self->height = height;
-    self->texture = gl_create_texture(self->egl, self->width, self->height, GL_RGB8, GL_RGB, GL_LINEAR); /* TODO: use GL_RGB16 instead of GL_RGB8 for hdr/10-bit */
+    self->texture = gl_create_texture(self->egl, self->width, self->height, GL_RGB8, GL_RGB, GL_NEAREST); /* TODO: use GL_RGB16 instead of GL_RGB8 for hdr/10-bit */
     if(self->texture == 0) {
         fprintf(stderr, "gsr error: gsr_image_writer_init: failed to create texture\n");
         return false;
-- 
cgit v1.2.3-70-g09d2