mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +00:00
Unifdef HandleAsync in input.cpp
This commit is contained in:
parent
ba5c3fc58c
commit
7660d74713
1 changed files with 0 additions and 4 deletions
|
@ -176,9 +176,7 @@ void WaitNoKey(int nSecs, void (*pFunc) (void))
|
||||||
|
|
||||||
while (nTotalTime > (int)totalclock)
|
while (nTotalTime > (int)totalclock)
|
||||||
{
|
{
|
||||||
#ifdef _MSC_VER
|
|
||||||
HandleAsync();
|
HandleAsync();
|
||||||
#endif
|
|
||||||
if (pFunc) {
|
if (pFunc) {
|
||||||
pFunc();
|
pFunc();
|
||||||
}
|
}
|
||||||
|
@ -191,9 +189,7 @@ int WaitAnyKey(int nSecs)
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
#ifdef _MSC_VER
|
|
||||||
HandleAsync();
|
HandleAsync();
|
||||||
#endif
|
|
||||||
if (nTotalTime <= (int)totalclock || nSecs == -1) {
|
if (nTotalTime <= (int)totalclock || nSecs == -1) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue