Added IsBgra() to DCanvas
Changed SWRender output format to be decided by IsBgra()
This commit is contained in:
parent
045bad1b52
commit
05220a7133
24 changed files with 139 additions and 96 deletions
|
|
@ -103,7 +103,7 @@ const BYTE *FCanvasTexture::GetPixels ()
|
|||
|
||||
void FCanvasTexture::MakeTexture ()
|
||||
{
|
||||
Canvas = new DSimpleCanvas (Width, Height);
|
||||
Canvas = new DSimpleCanvas (Width, Height, false);
|
||||
Canvas->Lock ();
|
||||
GC::AddSoftRoot(Canvas);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue