Kaydet (Commit) b409ca53 authored tarafından Michael Stahl's avatar Michael Stahl

warning C4189 local variable initialized but not referenced

Change-Id: I7bea7063d924318eed07a2fad4ec88ea942302a0
üst 6f2472e8
......@@ -442,10 +442,10 @@ void OGLTransitionerImpl::impl_prepareSlides()
mbUseLeavingPixmap = false;
mbUseEnteringPixmap = false;
GLWindow& rGLWindow(mpContext->getOpenGLWindow());
#if defined( GLX_EXT_texture_from_pixmap )
GLWindow& rGLWindow(mpContext->getOpenGLWindow());
if( mbTextureFromPixmap && xLeavingSet.is() && xEnteringSet.is() && mbHasTFPVisual ) {
Sequence< Any > leaveArgs;
Sequence< Any > enterArgs;
......@@ -1245,9 +1245,9 @@ void OGLTransitionerImpl::disposeTextures()
{
mpContext->makeCurrent();
#if defined( GLX_EXT_texture_from_pixmap )
GLWindow& rGLWindow(mpContext->getOpenGLWindow());
#if defined( GLX_EXT_texture_from_pixmap )
PFNGLXRELEASETEXIMAGEEXTPROC myglXReleaseTexImageEXT = (PFNGLXRELEASETEXIMAGEEXTPROC) glXGetProcAddress( (const GLubyte*) "glXReleaseTexImageEXT" );
if( mbUseLeavingPixmap ) {
myglXReleaseTexImageEXT( rGLWindow.dpy, maLeavingPixmapGL, GLX_FRONT_LEFT_EXT );
......
Markdown is supported
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