cogl-atlas-texture: Don't disable atlas if can't read texture data
authorNeil Roberts <neil@linux.intel.com>
Wed, 12 Jan 2011 16:56:52 +0000 (16:56 +0000)
committerNeil Roberts <neil@linux.intel.com>
Thu, 13 Jan 2011 11:50:09 +0000 (11:50 +0000)
commit3c9f72abbfcc7967aa399506adba0bfee4952bbc
tree88d8ddff091d5947c6dbf493be005e4cbcb0beb7
parent12ceae548d441f0611542645a62f6c0cbf7a0c5f
cogl-atlas-texture: Don't disable atlas if can't read texture data

Previously atlasing would be disabled if the GL driver does not
support reading back texture data. This meant that atlasing would not
happen on GLES. However we also require that the driver support FBOs
and the texture data is only read back as a fallback if the FBO
fails. Therefore the atlas should be ok on GLES 2 which has FBO
support in core.
clutter/cogl/cogl/cogl-atlas-texture.c