opengl: Fix cached size check in GLTexture::render()

destinationSize is stored in d->m_cachedSize so we need to test d->m_cachedSize against destinationSize rather than targetSize.

Merge request reports

Loading