mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-10 14:23:57 +00:00
[client] egl: fix RGBA16F support
This commit is contained in:
parent
98e0e5fc0b
commit
919b77df71
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue