From 919b77df71922e078a3b30b1312cdfa2d1efebe7 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sun, 11 Oct 2020 20:34:34 +1100 Subject: [PATCH] [client] egl: fix RGBA16F support --- client/renderers/EGL/texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/renderers/EGL/texture.c b/client/renderers/EGL/texture.c index 1b4cb901..bc2ce9c2 100644 --- a/client/renderers/EGL/texture.c +++ b/client/renderers/EGL/texture.c @@ -228,7 +228,7 @@ bool egl_texture_setup(EGL_Texture * texture, enum EGL_PixelFormat pixFmt, size_ texture->planes[0][2] = stride / 8; texture->offsets[0] = 0; texture->intFormat = GL_RGBA16F; - texture->dataType = GL_FLOAT; + texture->dataType = GL_HALF_FLOAT; texture->pboBufferSize = height * stride; break;