[client] egl: implemented SPICE display support
This commit is contained in:
1 parent
6699018ed1
commit
247e867f18
17 files changed
+273
-86
No files matched your search
@@ -38,13 +38,14 @@ typedef struct TexFB
|
||||
}
|
||||
TexFB;
|
||||
|
||||
static bool egl_texFBInit(EGL_Texture ** texture, EGLDisplay * display)
|
||||
static bool egl_texFBInit(EGL_Texture ** texture, EGL_TexType type,
|
||||
EGLDisplay * display)
|
||||
{
|
||||
TexFB * this = calloc(1, sizeof(*this));
|
||||
*texture = &this->base.base;
|
||||
|
||||
EGL_Texture * parent = &this->base.base;
|
||||
if (!egl_texBufferStreamInit(&parent, display))
|
||||
if (!egl_texBufferStreamInit(&parent, type, display))
|
||||
{
|
||||
free(this);
|
||||
*texture = NULL;
|
||||
|
||||
Reference in new issue
Block a user