subsurfaces: fix rendering problem with cairo-glesv2
authorStanislav Vorobiov <s.vorobiov@samsung.com>
Wed, 28 Aug 2013 06:14:35 +0000 (10:14 +0400)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 29 Aug 2013 05:31:33 +0000 (22:31 -0700)
commit6346e501ac4146b3fdff8d36ef575e5fbbd96e34
tree7f6b9a7180a314283f3524886e77bc9c77821f4d
parentf66f99d9db2480bb4e58bc3c76e8193dbd4e241a
subsurfaces: fix rendering problem with cairo-glesv2

when using cairo-glesv2 subsurface rendering code
implicitly calls eglMakeCurrent(dpy, NULL, NULL, ctx)
(since EGL_KHR_surfaceless_context is used), thus,
triangle_frame_callback:eglSwapBuffers returns EGL_BAD_SURFACE
error for all invocations other that the first one
clients/subsurfaces.c