mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] egl: fix texture import for RGB_24
This commit is contained in:
@@ -81,9 +81,6 @@ bool egl_texUtilGetFormat(const EGL_TexSetup * setup, EGL_TexFormat * fmt)
|
||||
fmt->intFormat = GL_BGRA_EXT;
|
||||
fmt->dataType = GL_UNSIGNED_BYTE;
|
||||
fmt->fourcc = DRM_FORMAT_ARGB8888;
|
||||
|
||||
// adjust the width as the texture is 32bpp but our source is 24bpp
|
||||
fmt->width = fmt->width / 4 * 3;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user