GTK+: OpenGL: WaylandEGLContext is a class.

This commit is contained in:
Brandon Wright 2018-11-17 14:54:57 -06:00
parent 1cd825090b
commit 5d1db07e85
1 changed files with 1 additions and 1 deletions

View File

@ -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);