Remove unused texture variable.
authorMika Isojärvi <misojarvi@google.com>
Fri, 6 Mar 2015 23:19:07 +0000 (15:19 -0800)
committerMika Isojärvi <misojarvi@google.com>
Fri, 6 Mar 2015 23:19:07 +0000 (15:19 -0800)
Change-Id: I8df54a9c87f597324572c80a24dc0d066f398a48

modules/egl/teglImageUtil.cpp

index 1efadc4..d47b3ba 100644 (file)
@@ -227,7 +227,6 @@ MovePtr<ClientBuffer> TextureImageSource::createBuffer (const glw::Functions& gl
 
        if (ref != DE_NULL)
        {
-               Texture         srcTex          (gl);
                GLenum          imgTarget       = eglu::getImageGLTarget(getSource());
 
                *ref = Texture2D(glu::mapGLTransferFormat(m_format, m_type), IMAGE_WIDTH, IMAGE_HEIGHT);