evas engine: convert data without any possible loss.

This commit is contained in:
Hermet Park 2019-04-30 17:13:32 +09:00
parent 74135dcc33
commit 0fda181e0a
2 changed files with 2 additions and 2 deletions

View File

@ -632,7 +632,7 @@ try_gles2:
glXGetFBConfigAttrib(gw->disp, evis->config, GLX_FBCONFIG_ID, &gw->gl_context->glxcfg_rgb);
glXGetFBConfigAttrib(gw->disp, evis2->config, GLX_FBCONFIG_ID, &gw->gl_context->glxcfg_rgba);
#endif
gw->gl_context->msaa = (Eina_Bool) msaa_bits;
gw->gl_context->msaa = (Eina_Bool) !!msaa_bits;
eng_window_use(gw);
glsym_evas_gl_common_context_resize(gw->gl_context, w, h, rot);
gw->surf = 1;

View File

@ -212,7 +212,7 @@ try_again:
}
if (w && h)
eng_window_resurf(gw);
gw->gl_context->msaa = (Eina_Bool) gw->msaa_bits;
gw->gl_context->msaa = (Eina_Bool) !!gw->msaa_bits;
return gw;
}