mirror of https://github.com/snes9xgit/snes9x.git
GTK+: OpenGL: WaylandEGLContext is a class.
This commit is contained in:
parent
1cd825090b
commit
5d1db07e85
|
@ -15,7 +15,7 @@ static void wl_global (void *data,
|
||||||
const char *interface,
|
const char *interface,
|
||||||
uint32_t version)
|
uint32_t version)
|
||||||
{
|
{
|
||||||
struct WaylandEGLContext *wl = (struct WaylandEGLContext *) data;
|
WaylandEGLContext *wl = (WaylandEGLContext *) data;
|
||||||
|
|
||||||
if (!strcmp (interface, "wl_compositor"))
|
if (!strcmp (interface, "wl_compositor"))
|
||||||
wl->compositor = (struct wl_compositor *) wl_registry_bind (wl_registry, name, &wl_compositor_interface, 3);
|
wl->compositor = (struct wl_compositor *) wl_registry_bind (wl_registry, name, &wl_compositor_interface, 3);
|
||||||
|
|
Loading…
Reference in New Issue