Match TextureImpl functions (#1521)

* TextureImpl functions

* TglD3DRMIMAGE functions
This commit is contained in:
MS
2025-05-26 12:46:22 -04:00
committed by GitHub
parent 04b669cf96
commit b28fcae005
3 changed files with 169 additions and 48 deletions

View File

@@ -400,7 +400,7 @@ public:
class Texture : public Object {
public:
// vtable+0x08
virtual Result SetTexels(int width, int height, int bitsPerTexel, void* pTexels) = 0;
virtual Result SetTexels(int width, int height, int bitsPerTexel, void* pTexels, int pTexelsArePersistent) = 0;
virtual void FillRowsOfTexture(int y, int height, void* pBuffer) = 0;
// vtable+0x10
@@ -411,7 +411,7 @@ public:
int* pDepth,
void** ppBuffer,
int* pPaletteSize,
PaletteEntry** ppPalette
unsigned char (*pEntries)[3]
) = 0;
virtual Result SetPalette(int entryCount, PaletteEntry* pEntries) = 0;