forked from enlightenment/efl
elm_glview: Fix warning with clang
I'm using the same gcc construct to initiliaze a complex struct with {} instead of {0}.
This commit is contained in:
parent
b476075081
commit
d61e243f0f
|
@ -46,7 +46,7 @@ _elm_glview_elm_widget_on_focus(Eo *obj, Elm_Glview_Data *_pd EINA_UNUSED, Elm_O
|
||||||
static void
|
static void
|
||||||
_glview_update_surface(Evas_Object *obj)
|
_glview_update_surface(Evas_Object *obj)
|
||||||
{
|
{
|
||||||
Evas_Native_Surface ns = { 0 };
|
Evas_Native_Surface ns = {};
|
||||||
Evas_GL_Options_Bits opt;
|
Evas_GL_Options_Bits opt;
|
||||||
|
|
||||||
ELM_GLVIEW_DATA_GET(obj, sd);
|
ELM_GLVIEW_DATA_GET(obj, sd);
|
||||||
|
|
Loading…
Reference in New Issue