devilhorns pushed a commit to branch master.

commit f940f11a9bd82f1de285753a18a24937a05475d8
Author: Chris Michael <[email protected]>
Date:   Thu Aug 29 09:01:48 2013 +0100

    Fix copy/paste issue.
    
    Use proper width & height for the new tilebuffer.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/evas/engines/wayland_shm/evas_engine.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/wayland_shm/evas_engine.c 
b/src/modules/evas/engines/wayland_shm/evas_engine.c
index 297735e..fabdb55 100644
--- a/src/modules/evas/engines/wayland_shm/evas_engine.c
+++ b/src/modules/evas/engines/wayland_shm/evas_engine.c
@@ -256,7 +256,7 @@ eng_setup(Evas *eo_evas, void *einfo)
         if (re->ob) re->outbuf_free(re->ob);
 
         /* create new tile buffer */
-        if ((re->tb = evas_common_tilebuf_new(w, h)))
+        if ((re->tb = evas_common_tilebuf_new(epd->output.w, epd->output.h)))
           evas_common_tilebuf_set_tile_size(re->tb, TILESIZE, TILESIZE);
 
         if ((re->ob = evas_swapbuf_setup(epd->output.w, epd->output.h,

-- 

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk

Reply via email to