From: Michael Schuldt Date: Mon, 27 Jun 2011 12:24:32 +0000 (+0200) Subject: Bugfix : Texture will now bind correctly. X-Git-Tag: ivi-layer-management_version_0_9_1~20^2^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21b55ccb18dd5d124a812fb829de7ed66b5968c3;p=profile%2Fivi%2Flayer-management.git Bugfix : Texture will now bind correctly. --- diff --git a/LayerManagerPlugins/Renderers/Graphic/src/TextureBinders/X11CopyGLES.cpp b/LayerManagerPlugins/Renderers/Graphic/src/TextureBinders/X11CopyGLES.cpp index 0454896..01d68ff 100644 --- a/LayerManagerPlugins/Renderers/Graphic/src/TextureBinders/X11CopyGLES.cpp +++ b/LayerManagerPlugins/Renderers/Graphic/src/TextureBinders/X11CopyGLES.cpp @@ -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)