bool GLBackend::isTextureReady(const TexturePointer& texture) { // DO not transfer the texture, this call is expected for rendering texture GLTexture* object = syncGPUObject(texture, true); return object && object->isReady(); }