[waffle] [PATCH 08/10] cgl: avoid leaking the PixelFormat

Chad Versace chad.versace at intel.com
Thu Jun 5 23:26:53 PDT 2014


On Sat, May 31, 2014 at 03:22:06AM +0100, Emil Velikov wrote:
> According to apple developer page, starting with OS X v10.5 the
> pixelformat is reference counted. The object is created at
> CGLChoosePixelFormat and should be unrefeferenced via
> CGLReleasePixelFormat/CGLDestroyPixelFormat.
> 
> The latter two are identical accoring to the documentation.
> 
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>  src/waffle/cgl/cgl_config.m | 4 ++++
>  1 file changed, 4 insertions(+)

All CGL patches in this series look good to me. However, I'll defer
committing them until I've tested them on my MacBook.


More information about the waffle mailing list