Rename FUN_1009e020 to ClearBackBuffers (#1503)

* Rename FUN_1009e020 to ClearBackBuffers

* Update mxdirectdraw.h
This commit is contained in:
Anders Jenbo 2025-05-18 03:01:29 +02:00 committed by GitHub
parent 3f0fe654ff
commit d00c08cc19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -399,7 +399,7 @@ BOOL MxDirectDraw::DDSetMode(int width, int height, int bpp)
DDSURFACEDESC ddsd;
FUN_1009e020();
ClearBackBuffers();
if (!GetDDSurfaceDesc(&ddsd, m_pBackBuffer)) {
return FALSE;
@ -549,7 +549,7 @@ BOOL MxDirectDraw::DDCreateSurfaces()
// FUNCTION: LEGO1 0x1009e020
// FUNCTION: BETA10 0x10121700
void MxDirectDraw::FUN_1009e020()
void MxDirectDraw::ClearBackBuffers()
{
HRESULT result;
byte* line;

View File

@ -79,7 +79,7 @@ protected:
void Error(const char* p_message, int p_error);
BOOL RecreateDirectDraw(GUID** a2);
void FUN_1009e020();
void ClearBackBuffers();
void FUN_1009d920();
// SYNTHETIC: LEGO1 0x1009d510