mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
cdbc1dc9b1
It used to be that cogl_framebuffer_allocate() had to be done explicitly but we have since made Cogl lazily allocate framebuffers when they are first used if they haven't already been explicitly allocated. Developers only need to explicitly allocate framebuffers if they are planning to gracefully handle any errors. In cases where the program will simply abort due to an allocation error they can simply rely on implicit allocation which will cause an abort on error. This updates the examples to not explicitly allocate the framebuffers since they all just abort on error anyway. Reviewed-by: Neil Roberts <neil@linux.intel.com> |
||
---|---|---|
.. | ||
android/hello | ||
cogl-crate.c | ||
cogl-hello.c | ||
cogl-info.c | ||
cogl-msaa.c | ||
cogl-sdl-hello.c | ||
cogl-x11-foreign.c | ||
cogl-x11-tfp.c | ||
cogland.c | ||
crate.jpg | ||
Makefile.am |