mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Match RwRasterCreate(...)
This commit is contained in:
parent
52da6c73c1
commit
09db326d7b
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user