forked from enlightenment/efl
evas: read fullscreen flags from initialized value.
This commit is contained in:
parent
40875064df
commit
760279f02e
|
@ -22,7 +22,7 @@ evas_software_ddraw_init (HWND window,
|
||||||
if (FAILED(res))
|
if (FAILED(res))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (buf->priv.dd.fullscreen)
|
if (fullscreen)
|
||||||
{
|
{
|
||||||
DDSCAPS caps;
|
DDSCAPS caps;
|
||||||
|
|
||||||
|
@ -63,6 +63,8 @@ evas_software_ddraw_init (HWND window,
|
||||||
&buf->priv.dd.surface_back);
|
&buf->priv.dd.surface_back);
|
||||||
if (FAILED(res))
|
if (FAILED(res))
|
||||||
goto release_surface_primary;
|
goto release_surface_primary;
|
||||||
|
|
||||||
|
buf->priv.dd.fullscreen = fullscreen;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue