mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
SDL platform improvements
This commit is contained in:
parent
d20b53b187
commit
8e191b074b
101 changed files with 37801 additions and 68 deletions
|
@ -642,6 +642,7 @@ Texture* GLRenderDevice::LoadTexture(ImageData* imageData, int flags)
|
|||
glTexture->mWidth = imageData->mWidth;
|
||||
glTexture->mHeight = imageData->mHeight;
|
||||
glTexture->mImageData = imageData;
|
||||
glTexture->AddRef();
|
||||
imageData->AddRef();
|
||||
|
||||
return glTexture;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue