mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 00:28:20 +00:00
[client] egl: fix RGBA16F support
This commit is contained in:
parent
98e0e5fc0b
commit
919b77df71
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user