Bugfix : Texture will now bind correctly.
authorMichael Schuldt <michael.schuldt@bmw-carit.de>
Mon, 27 Jun 2011 12:24:32 +0000 (14:24 +0200)
committerMichael Schuldt <michael.schuldt@bmw-carit.de>
Mon, 27 Jun 2011 12:24:32 +0000 (14:24 +0200)
LayerManagerPlugins/Renderers/Graphic/src/TextureBinders/X11CopyGLES.cpp

index 0454896..01d68ff 100644 (file)
@@ -36,7 +36,7 @@ bool X11CopyGLES::bindSurfaceTexture(Surface* surface)
     {
         nativeSurface = (XPlatformSurface*)surface->platform;
     } 
-    else if( nativeSurface != NULL && surface->nativeHandle != 0 ) 
+    if( nativeSurface != NULL && surface->nativeHandle != 0 ) 
     {
            pixmap = XCompositeNameWindowPixmap (dpy, surface->nativeHandle);
            if (!pixmap)