mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
BMP loading, show workspace icon files on startup panel
This commit is contained in:
parent
c8394bef26
commit
05cda98c85
11 changed files with 725 additions and 4 deletions
|
@ -692,6 +692,9 @@ void DXTexture::SetBits(int destX, int destY, int destWidth, int destHeight, int
|
|||
|
||||
void DXTexture::GetBits(int srcX, int srcY, int srcWidth, int srcHeight, int destPitch, uint32* bits)
|
||||
{
|
||||
if ((srcWidth <= 0) || (srcHeight <= 0))
|
||||
return;
|
||||
|
||||
D3D11_TEXTURE2D_DESC texDesc;
|
||||
texDesc.ArraySize = 1;
|
||||
texDesc.BindFlags = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue