diff --git a/cogl/cogl-renderer.c b/cogl/cogl-renderer.c index a691bdaff..2e2720921 100644 --- a/cogl/cogl-renderer.c +++ b/cogl/cogl-renderer.c @@ -165,7 +165,7 @@ cogl_renderer_check_onscreen_template (CoglRenderer *renderer, CoglDisplay *display; const CoglWinsysVtable *winsys = _cogl_renderer_get_winsys (renderer); - if (!winsys->renderer_connect (renderer, error)) + if (!cogl_renderer_connect (renderer, error)) return FALSE; display = cogl_display_new (renderer, onscreen_template);