X11WindowSystem: Fix swapinterval=1
authorRahul Singhal <rasinghal@nvidia.com>
Mon, 25 Jun 2012 12:14:53 +0000 (17:44 +0530)
committerMichael Schuldt <michael.schuldt@bmw.de>
Thu, 28 Jun 2012 10:58:21 +0000 (12:58 +0200)
commit2af170db8198c44165baa60dcab6ee5dec6e7341
tree13a08f4a61d6f25e68bd0e6ae2fd828431fa1f49
parente30240d4e8ebcf50df4a42504306046ee969c52f
X11WindowSystem: Fix swapinterval=1

Using a non-default visual results in a redirected pixmap for the
root window which does not respect VSYNC.

Also use default screen instead of hard-coded screen 0.
LayerManagerPlugins/Renderers/Graphic/src/GraphicSystems/GLESGraphicSystem.cpp
LayerManagerPlugins/Renderers/Graphic/src/WindowSystems/X11WindowSystem.cpp