From: xcomputerman Date: Mon, 18 Oct 2010 23:02:02 +0000 (+0000) Subject: Better. X-Git-Tag: 2.0_alpha~240^2~1396 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3a1b78ed725bd5e53808c6e1dcdb7eb17a8b703;p=framework%2Fuifw%2Fevas.git Better. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@53584 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/modules/engines/gl_sdl/evas_engine.c b/src/modules/engines/gl_sdl/evas_engine.c index 27cc61b..b7661d9 100644 --- a/src/modules/engines/gl_sdl/evas_engine.c +++ b/src/modules/engines/gl_sdl/evas_engine.c @@ -97,7 +97,7 @@ eng_output_resize(void *data, int w, int h) } } - evas_gl_common_context_resize(re->gl_context, w, h, 0); + evas_gl_common_context_resize(re->gl_context, w, h, re->gl_context->rot); } static void @@ -114,7 +114,7 @@ eng_output_redraws_rect_add(void *data, int x, int y, int w, int h) Render_Engine *re; re = (Render_Engine *)data; - evas_gl_common_context_resize(re->gl_context, re->w, re->h, 0); + evas_gl_common_context_resize(re->gl_context, re->w, re->h, re->gl_context->rot); /* smple bounding box */ if (!re->draw.redraw) { @@ -1011,7 +1011,7 @@ _sdl_output_setup (int w, int h, int fullscreen, int noframe) return NULL; } evas_gl_common_context_use(re->gl_context); - evas_gl_common_context_resize(re->gl_context, w, h, 0); + evas_gl_common_context_resize(re->gl_context, w, h, re->gl_context->rot); /* End GL Initialization */ re->w = w;