mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-22 07:54:23 +00:00
Correct argument names for FUN_100bc8b0 (#1472)
* Correct argument names for FUN_100bc8b0 * Update mxdisplaysurface.h
This commit is contained in:
@@ -109,7 +109,7 @@ public:
|
||||
MxU8 p_bpp
|
||||
);
|
||||
|
||||
LPDIRECTDRAWSURFACE FUN_100bc8b0(MxS32 width, MxS32 height);
|
||||
LPDIRECTDRAWSURFACE FUN_100bc8b0(MxS32 p_width, MxS32 p_height);
|
||||
|
||||
private:
|
||||
MxU8 CountTotalBitsSetTo1(MxU32 p_param);
|
||||
|
@@ -1369,7 +1369,7 @@ void MxDisplaySurface::VTable0x2c(
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100bc8b0
|
||||
LPDIRECTDRAWSURFACE MxDisplaySurface::FUN_100bc8b0(MxS32 width, MxS32 height)
|
||||
LPDIRECTDRAWSURFACE MxDisplaySurface::FUN_100bc8b0(MxS32 p_width, MxS32 p_height)
|
||||
{
|
||||
LPDIRECTDRAWSURFACE surface = NULL;
|
||||
|
||||
@@ -1388,8 +1388,8 @@ LPDIRECTDRAWSURFACE MxDisplaySurface::FUN_100bc8b0(MxS32 width, MxS32 height)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
surfaceDesc.dwWidth = width;
|
||||
surfaceDesc.dwHeight = height;
|
||||
surfaceDesc.dwWidth = p_width;
|
||||
surfaceDesc.dwHeight = p_height;
|
||||
surfaceDesc.dwFlags = DDSD_PIXELFORMAT | DDSD_WIDTH | DDSD_HEIGHT | DDSD_CAPS;
|
||||
surfaceDesc.ddsCaps.dwCaps = DDSCAPS_VIDEOMEMORY | DDSCAPS_OFFSCREENPLAIN;
|
||||
|
||||
|
Reference in New Issue
Block a user