Use standard buffer types for in-memory textures

This commit is contained in:
notmatthewbeshay
2026-03-10 19:53:51 +11:00
parent c4947ce99a
commit 37aa3463be
8 changed files with 34 additions and 30 deletions

View File

@@ -1014,8 +1014,8 @@ MemTexture *Textures::addMemTexture(const std::wstring& name,MemTextureProcessor
if(texture == NULL)
{
// can we find it in the app mem files?
PBYTE pbData=NULL;
DWORD dwBytes=0;
std::uint8_t *pbData=NULL;
unsigned int dwBytes=0;
app.GetMemFileDetails(name,&pbData,&dwBytes);
if(dwBytes!=0)