use real_ function
This commit is contained in:
parent
b42bc232c8
commit
9cf4881aa2
2 changed files with 2 additions and 2 deletions
2
src/dd.c
2
src/dd.c
|
@ -712,7 +712,7 @@ HRESULT dd_SetDisplayMode(DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwFl
|
||||||
if (g_ddraw->windowed)
|
if (g_ddraw->windowed)
|
||||||
{
|
{
|
||||||
MSG msg; /* workaround for "Not Responding" window problem in cnc games */
|
MSG msg; /* workaround for "Not Responding" window problem in cnc games */
|
||||||
PeekMessage(&msg, g_ddraw->hwnd, 0, 0, PM_NOREMOVE);
|
real_PeekMessageA(&msg, g_ddraw->hwnd, 0, 0, PM_NOREMOVE);
|
||||||
|
|
||||||
if (!border)
|
if (!border)
|
||||||
{
|
{
|
||||||
|
|
|
@ -943,7 +943,7 @@ HRESULT dds_Lock(
|
||||||
if (g_ddraw && g_ddraw->fixnotresponding)
|
if (g_ddraw && g_ddraw->fixnotresponding)
|
||||||
{
|
{
|
||||||
MSG msg; /* workaround for "Not Responding" window problem */
|
MSG msg; /* workaround for "Not Responding" window problem */
|
||||||
PeekMessage(&msg, g_ddraw->hwnd, 0, 0, PM_NOREMOVE);
|
real_PeekMessageA(&msg, g_ddraw->hwnd, 0, 0, PM_NOREMOVE);
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT ret = dds_GetSurfaceDesc(This, lpDDSurfaceDesc);
|
HRESULT ret = dds_GetSurfaceDesc(This, lpDDSurfaceDesc);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue