Jasper St. Pierre 21ce9bc08b clutter-stage-cogl: Match EGL's behavior of eglSwapBuffersWithDamage
-1 is explicitly an invalid value to pass to eglSwapBuffersWithDamage,
and the specification admits as much:

                                                         If
    eglSwapBuffersWithDamageEXT is called and <n_rects>, is less
    than zero or <n_rects> is greater than zero but <rects> is
    NULL, EGL_BAD_PARAMETER is generated.

Fix up our usage of SwapBuffersWithDamage to match the behavior in the
EGL specification.

https://bugzilla.gnome.org/show_bug.cgi?id=745512
2015-04-29 22:41:58 +01:00
..
2015-04-09 12:35:23 +01:00
2015-03-03 17:44:15 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 19:26:49 +00:00
2015-04-14 12:29:58 +01:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2015-01-01 15:16:40 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2015-03-03 17:44:15 +00:00
2014-03-17 23:07:58 +00:00
2015-03-03 17:44:15 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 18:53:27 +00:00
2015-03-03 17:44:15 +00:00