[client] egl: fix RGBA16F support

This commit is contained in:
Geoffrey McRae 2020-10-11 20:34:34 +11:00
parent 98e0e5fc0b
commit 919b77df71

View File

@ -228,7 +228,7 @@ bool egl_texture_setup(EGL_Texture * texture, enum EGL_PixelFormat pixFmt, size_
texture->planes[0][2] = stride / 8; texture->planes[0][2] = stride / 8;
texture->offsets[0] = 0; texture->offsets[0] = 0;
texture->intFormat = GL_RGBA16F; texture->intFormat = GL_RGBA16F;
texture->dataType = GL_FLOAT; texture->dataType = GL_HALF_FLOAT;
texture->pboBufferSize = height * stride; texture->pboBufferSize = height * stride;
break; break;