mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Added 'DarkTheme.png' theme image with encoded colors
This commit is contained in:
parent
4f2472c276
commit
287922693e
11 changed files with 93 additions and 14 deletions
|
@ -422,6 +422,11 @@ BF_EXPORT void BF_CALLTYPE Gfx_Texture_SetBits(TextureSegment* textureSegment, i
|
|||
textureSegment->mTexture->SetBits(destX, destY, destWidth, destHeight, srcPitch, bits);
|
||||
}
|
||||
|
||||
BF_EXPORT void BF_CALLTYPE Gfx_Texture_GetBits(TextureSegment* textureSegment, int srcX, int srcY, int srcWidth, int srcHeight, int destPitch, uint32* bits)
|
||||
{
|
||||
textureSegment->mTexture->GetBits(srcX, srcY, srcWidth, srcHeight, destPitch, bits);
|
||||
}
|
||||
|
||||
BF_EXPORT void BF_CALLTYPE Gfx_Texture_Delete(TextureSegment* textureSegment)
|
||||
{
|
||||
textureSegment->mTexture->Release();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue