devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2537cd2cf796671bfcd593da3e38787f30f43ee3

commit 2537cd2cf796671bfcd593da3e38787f30f43ee3
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Thu Feb 23 12:39:02 2017 -0500

    elementary: Fix compilation for SDL
    
    Not sure how long this has been broken, but the variable name changed
    in this routine to "is_gl_accel"..."is_hw_accel" is no longer used, so
    change variable name here to fix compilation with SDL.
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/elementary/efl_ui_win.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 492bf8a..8298913 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -4638,7 +4638,7 @@ _elm_win_finalize_internal(Eo *obj, Efl_Ui_Win_Data *sd, 
const char *name, Elm_W
 #ifdef HAVE_ELEMENTARY_SDL
         else if ((disp) && (!strcmp(disp, "sdl")))
           {
-             if (is_hw_accel)
+             if (is_gl_accel)
                {
                   enginelist[p++] = ELM_OPENGL_SDL;
                   enginelist[p++] = ELM_SOFTWARE_SDL;

-- 


Reply via email to