forked from enlightenment/efl
optimize ddraw engine : when locking a surface, don't allow Windows
to suspend operations. expedite runs with around 7 points more than without those flags on my computer SVN revision: 39316
This commit is contained in:
parent
a5a7e167d9
commit
3616db9aa6
|
@ -185,7 +185,7 @@ evas_software_ddraw_lock(Outbuf *buf,
|
|||
|
||||
if (FAILED(buf->priv.dd.surface_back->Lock(NULL,
|
||||
&surface_desc,
|
||||
DDLOCK_WAIT | DDLOCK_SURFACEMEMORYPTR,
|
||||
DDLOCK_WAIT | DDLOCK_WRITEONLY | DDLOCK_SURFACEMEMORYPTR | DDLOCK_NOSYSLOCK,
|
||||
NULL)))
|
||||
return NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue