diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-03-13 22:38:28 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-03-13 22:38:28 +0100 |
commit | 5d87dbd075360109436bb35e28eac5ba9320e80b (patch) | |
tree | 05e1ab31bdd89dbfd9c324be5d7b4e724ab52599 /src/image_writer.c | |
parent | b0de8588f2f4a5204e9bc22218eed884fa741153 (diff) |
texture filter change
Diffstat (limited to 'src/image_writer.c')
-rw-r--r-- | src/image_writer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |