[saco] Match RwRasterCreate(...)

This commit is contained in:
RD42 2024-07-30 23:04:58 +08:00
parent 52da6c73c1
commit 09db326d7b
2 changed files with 7 additions and 30 deletions

View File

@ -8,8 +8,8 @@ extern int iGtaVersion;
RwRaster* RwRasterCreate(int width, int height, int depth, int flags)
{
DWORD dwFunc = (iGtaVersion != GTASA_VERSION_USA10) ? 0x7FB270 : 0x7FB230;
RwRaster* pRaster = NULL;
DWORD dwFunc = (iGtaVersion != GTASA_VERSION_USA10) ? 0x7FB270 : 0x7FB230;
_asm push flags
_asm push depth

View File

@ -1,35 +1,12 @@
#pragma once
struct RwRaster
{
char _gap0;
};
struct RwTexture
{
char _gap0;
};
struct RwFrame
{
char _gap0;
};
struct RwCamera
{
char _gap0;
};
struct RpLight
{
char _gap0;
};
struct RwRGBAReal
{
float r, g, b, a;
};
struct RwRaster { char _gap0; };
struct RwTexture { char _gap0; };
struct RwFrame { char _gap0; };
struct RwCamera { char _gap0; };
struct RpLight { char _gap0; };
struct RwRGBAReal { float r, g, b, a; };
RwRaster* RwRasterCreate(int width, int height, int depth, int flags);
RwTexture* RwTextureCreate(RwRaster *raster);