- Removed DCanvas::Blit(), as it's no longer used.
- Added a function to create a texture from a stand-alone PNG file. The save/ load menus now use this to get their thumbnails. SVN r652 (trunk)
This commit is contained in:
parent
c911e995a9
commit
522e7fe07f
10 changed files with 88 additions and 161 deletions
|
|
@ -320,6 +320,7 @@ bool D3DFB::CreateResources ()
|
|||
}
|
||||
if (FAILED(D3DDevice->CreatePixelShader (GammaFixerDef, &GammaFixerShader)))
|
||||
{
|
||||
Printf ("Windowed mode gamma will not work.\n");
|
||||
GammaFixerShader = NULL;
|
||||
}
|
||||
CurPixelShader = NULL;
|
||||
|
|
@ -1371,9 +1372,6 @@ bool D3DFB::Begin2D()
|
|||
Update();
|
||||
In2D = 2;
|
||||
|
||||
// Set default state for 2D rendering.
|
||||
SetAlphaBlend(TRUE, D3DBLEND_SRCALPHA, D3DBLEND_INVSRCALPHA);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue