Robert Bragg 1e3f4f62e0 framebuffer: validate width/height in _set_viewport
This validates that the viewport width and height arguments are positive
values in _cogl_framebuffer_set_viewport. In addition, just before
calling glViewport we also assert that something else hasn't gone amiss
and that the internal viewport width/height values we track are still
positive before passing to glViewport which generates an error for
negative values.
2011-06-01 20:21:59 +01:00
..
2011-05-16 18:36:44 +01:00
2011-05-16 18:36:44 +01:00
2011-05-16 18:36:44 +01:00
2010-06-01 12:08:18 +01:00
2011-05-10 17:58:41 +01:00
2011-05-16 18:36:44 +01:00
2011-05-16 18:36:44 +01:00
2011-05-16 18:36:44 +01:00
2011-05-16 18:36:44 +01:00
2011-05-10 17:58:41 +01:00
2011-05-16 18:36:44 +01:00
2010-03-03 17:02:51 +00:00