Remove unneeded check.
It would have already crashed on QOpenGLSharedResource(ctx->shareGroup()). Change-Id: Ib68759457a0fa7e4417dcd30cc40fbabf3df232c Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>bb10
parent
11eed81ae9
commit
d8e6350c16
|
|
@ -72,7 +72,7 @@ public:
|
|||
, m_width(0)
|
||||
, m_height(0)
|
||||
{
|
||||
if (ctx && !ctx->d_func()->workaround_brokenFBOReadBack)
|
||||
if (!ctx->d_func()->workaround_brokenFBOReadBack)
|
||||
QOpenGLFunctions(ctx).glGenFramebuffers(1, &m_fbo);
|
||||
|
||||
#ifdef QT_GL_TEXTURE_GLYPH_CACHE_DEBUG
|
||||
|
|
|
|||
Loading…
Reference in New Issue