Commit 59b21a01 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Fix -Wreorder-ctor

parent 45c560ea
Pipeline #126563 passed with stage
in 18 minutes and 4 seconds
......@@ -68,8 +68,8 @@ protected:
void onDamage() override;
private:
EglBackend *m_backend;
EglPixmapTexture *q;
EglBackend *m_backend;
EGLImageKHR m_image = EGL_NO_IMAGE_KHR;
};
......
......@@ -983,14 +983,14 @@ GLRenderTarget* GLRenderTarget::popRenderTarget()
}
GLRenderTarget::GLRenderTarget()
: mValid(false)
, mTexture(GL_TEXTURE_2D)
: mTexture(GL_TEXTURE_2D)
, mValid(false)
{
}
GLRenderTarget::GLRenderTarget(const GLTexture& color)
: mValid(false)
, mTexture(color)
: mTexture(color)
, mValid(false)
{
// Make sure FBO is supported
if (sSupported && !mTexture.isNull()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment