diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-11-26 17:41:07 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-11-26 21:02:18 (GMT) |
commit | dc23fd546163edb7ff4395f44217b5cb2600004a (patch) | |
tree | 37f494c22bf86888424b195bc2e6ef9d68529b0e /src/opengl/qglpixelbuffer_egl.cpp | |
parent | b284975435f80eba7bf6d1edd21987dcee134e86 (diff) | |
download | Qt-dc23fd546163edb7ff4395f44217b5cb2600004a.zip Qt-dc23fd546163edb7ff4395f44217b5cb2600004a.tar.gz Qt-dc23fd546163edb7ff4395f44217b5cb2600004a.tar.bz2 |
Fix warnings related to unused variables.
Just add some Q_UNUSED for parameters or remove the variable we don't
need for the others.
Reviewed-by: Trust Me
Diffstat (limited to 'src/opengl/qglpixelbuffer_egl.cpp')
-rw-r--r-- | src/opengl/qglpixelbuffer_egl.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/opengl/qglpixelbuffer_egl.cpp b/src/opengl/qglpixelbuffer_egl.cpp index 0b94f5a..2d9f6f1 100644 --- a/src/opengl/qglpixelbuffer_egl.cpp +++ b/src/opengl/qglpixelbuffer_egl.cpp @@ -74,7 +74,6 @@ bool QGLPixelBufferPrivate::init(const QSize &size, const QGLFormat &f, QGLWidge // Use the same configuration as the widget we are sharing with. ctx->setConfig(shareContext->config()); #if QGL_RENDER_TEXTURE - EGLint value = EGL_FALSE; if (ctx->configAttrib(EGL_BIND_TO_TEXTURE_RGBA) == EGL_TRUE) textureFormat = EGL_TEXTURE_RGBA; else if (ctx->configAttrib(EGL_BIND_TO_TEXTURE_RGB) == EGL_TRUE) |