mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 13:33:40 +00:00
[client] wayland: add stubs for OpenGL functions
This allows the client to run on Wayland, even though OpenGL doesn't work.
This commit is contained in:
parent
06af101bf9
commit
a56e363e39
@ -619,6 +619,26 @@ static void waylandEGLSwapBuffers(EGLDisplay display, EGLSurface surface)
|
||||
}
|
||||
#endif
|
||||
|
||||
static LG_DSGLContext waylandGLCreateContext(void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void waylandGLDeleteContext(LG_DSGLContext context)
|
||||
{
|
||||
// FIXME: implement.
|
||||
}
|
||||
|
||||
static void waylandGLMakeCurrent(LG_DSGLContext context)
|
||||
{
|
||||
// FIXME: implement.
|
||||
}
|
||||
|
||||
static void waylandGLSetSwapInterval(int interval)
|
||||
{
|
||||
// FIXME: implement.
|
||||
}
|
||||
|
||||
static void waylandGLSwapBuffers(void)
|
||||
{
|
||||
// FIXME: implement.
|
||||
@ -1144,6 +1164,10 @@ struct LG_DisplayServerOps LGDS_Wayland =
|
||||
.eglSwapBuffers = waylandEGLSwapBuffers,
|
||||
#endif
|
||||
|
||||
.glCreateContext = waylandGLCreateContext,
|
||||
.glDeleteContext = waylandGLDeleteContext,
|
||||
.glMakeCurrent = waylandGLMakeCurrent,
|
||||
.glSetSwapInterval = waylandGLSetSwapInterval,
|
||||
.glSwapBuffers = waylandGLSwapBuffers,
|
||||
|
||||
.showPointer = waylandShowPointer,
|
||||
|
Loading…
Reference in New Issue
Block a user