From f3a1b78ed725bd5e53808c6e1dcdb7eb17a8b703 Mon Sep 17 00:00:00 2001 From: xcomputerman Date: Mon, 18 Oct 2010 23:02:02 +0000 Subject: [PATCH] Better. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@53584 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/modules/engines/gl_sdl/evas_engine.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.7.4