Fix -Wreorder-ctor
This commit is contained in:
parent
45c560ea06
commit
59b21a0130
2 changed files with 5 additions and 5 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue