Neil Roberts 6654533e40 cogl-winsys-wgl: Plug leak on error from SetPixelFormat
When SetPixelFormat fails, the DC would get released but none of the
other resources would be freed. This patch makes it call
_cogl_winsys_onscreen_deinit on failure to clean up all of the
resources. The patch looks big because it moves the onscreen_deinit
and onscreen_bind functions.
2011-05-10 19:53:00 +01:00
..
2010-06-01 12:08:18 +01:00
2011-05-10 17:58:41 +01:00
2011-05-10 17:58:41 +01:00
2011-05-10 17:58:41 +01:00
2011-05-10 17:58:41 +01:00
2011-05-10 17:58:41 +01:00
2011-05-10 17:58:41 +01:00
2010-03-03 17:02:51 +00:00