mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-08 00:48:17 +00:00
Use standard buffer types for in-memory textures
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user