Change-Id: I8878449a08f5aac981b43d54a92ff98597b7ced3
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
if(!(window->flags & SDL_WINDOW_FULLSCREEN) && !(window->flags & SDL_WINDOW_BORDERLESS))
{
+ SDL_VideoData *data = (SDL_VideoData *) (SDL_GetVideoDevice()->driverdata);
+ if(data->current_thread != SDL_GetThreadID(0))
+ return context;
if(!Indicator_GLES_Init(window))
{
SDL_Log("Indicator GLES init error!");
EGLConfig econf;
Eina_Hash *windows;
+ unsigned int current_thread;
} SDL_VideoData;
#endif /* _SDL_tizenvideo_h */
ecore_event_handler_add(ECORE_WL_EVENT_MOUSE_OUT,
_tizen_cb_event_mouse_out,_this);
+ data->current_thread = SDL_GetThreadID(0);
+
return 0;
}