Fix sdl engine.

SVN revision: 38277
This commit is contained in:
Cedric BAIL 2008-12-22 11:16:26 +00:00
parent c2651a9f31
commit 61199e56ee
1 changed files with 4 additions and 2 deletions

View File

@ -436,6 +436,8 @@ static const Ecore_Evas_Engine_Func _ecore_sdl_engine_func =
NULL,
NULL,
NULL,
NULL,
NULL,
NULL
};
@ -457,8 +459,6 @@ _ecore_evas_internal_sdl_new(int rmethod, const char* name, int w, int h, int fu
ECORE_MAGIC_SET(ee, ECORE_MAGIC_EVAS);
_ecore_evas_sdl_init(w, h);
ee->engine.func = (Ecore_Evas_Engine_Func *)&_ecore_sdl_engine_func;
ee->driver = "sdl";
@ -511,6 +511,8 @@ _ecore_evas_internal_sdl_new(int rmethod, const char* name, int w, int h, int fu
evas_event_feed_mouse_in(ee->evas, (unsigned int)((unsigned long long)(ecore_time_get() * 1000.0) & 0xffffffff), NULL);
_ecore_evas_sdl_init(w, h);
SDL_ShowCursor(SDL_DISABLE);
ecore_evases = _ecore_list2_prepend(ecore_evases, ee);