aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-12-24 02:00:20 +0100
committerdec05eba <dec05eba@protonmail.com>2025-12-24 02:00:20 +0100
commit0511f04d1f7cd1cff5a56c28eb9114e6d8528280 (patch)
tree2ee19b6d705085ebdd835efebdea18bd4e9bbe9a /src/utils.c
parentae0eb0252cf047ae54bdb4f5f18d495405ed35b1 (diff)
Fix v4l2 mjpeg on nvidia, yuyv on nvidia not done
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c
index 708643d..be6c300 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -631,9 +631,7 @@ unsigned int gl_create_texture(gsr_egl *egl, int width, int height, int internal
unsigned int texture_id = 0;
egl->glGenTextures(1, &texture_id);
egl->glBindTexture(GL_TEXTURE_2D, texture_id);
- // TODO:
egl->glTexImage2D(GL_TEXTURE_2D, 0, internal_format, width, height, 0, format, GL_UNSIGNED_BYTE, NULL);
- //egl->glTexStorage2D(GL_TEXTURE_2D, 1, internal_format, width, height);
egl->glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, filter);
egl->glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, filter);