mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 10:44:01 +00:00
[client] egl: tex
is now an array, so check it properly for assignment
This commit is contained in:
@@ -250,7 +250,7 @@ bool egl_texture_setup(EGL_Texture * texture, enum EGL_PixelFormat pixFmt, size_
|
||||
|
||||
texture->pitch = stride / texture->bpp;
|
||||
|
||||
if (texture->tex)
|
||||
if (texture->tex[0])
|
||||
glDeleteTextures(texture->bufferCount, texture->tex);
|
||||
glGenTextures(texture->bufferCount, texture->tex);
|
||||
|
||||
|
Reference in New Issue
Block a user