mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +00:00
[client] egl: tex
is now an array, so check it properly for assignment
This commit is contained in:
parent
20d20f5c8a
commit
964403b4f8
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user