Enums in mxdisplaysurface.cpp (#1493)

* Enums in mxdisplaysurface.cpp

* Update mxdisplaysurface.cpp
This commit is contained in:
Anders Jenbo 2025-05-15 07:08:50 +02:00 committed by GitHub
parent d52af9f4e3
commit 4c754b376c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1050,7 +1050,7 @@ LPDIRECTDRAWSURFACE MxDisplaySurface::CopySurface(LPDIRECTDRAWSURFACE p_src)
RECT rect = {0, 0, (LONG) ddsd.dwWidth, (LONG) ddsd.dwHeight};
if (newSurface->BltFast(0, 0, p_src, &rect, 16) != DD_OK) {
if (newSurface->BltFast(0, 0, p_src, &rect, DDBLTFAST_WAIT) != DD_OK) {
newSurface->Release();
return NULL;
}