- fbo_attached is not used.
- buffers_allocated is just a bool
{
if (_evgl_direct_renderable(rsc, sfc))
{
- if (dbg) DBG("sfc %p is direct renderable (has buffers: %d).", sfc, sfc->buffers_allocated);
+ if (dbg) DBG("sfc %p is direct renderable (has buffers: %d).", sfc, (int) sfc->buffers_allocated);
// Destroy created resources
if (sfc->buffers_allocated)
unsigned gles1_indirect : 1;
unsigned xpixmap : 1;
- int cfg_index;
+ // Init Flag
+ unsigned buffers_allocated : 1;
- // Attached Context
- int fbo_attached;
+ int cfg_index;
- // Init Flag
- int buffers_allocated;
// Rough estimate of buffer in memory per renderbuffer
// 0. color 1. depth 2. stencil 3. depth_stencil