mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-09 19:15:48 +00:00
D3D9: Make sure to use powers of two as render target dimensions if it's needed by the device.
Some other cleanups. Possibly fixes issue 3256. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6725 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
4b15325acd
commit
ecf92f5c3c
9 changed files with 69 additions and 64 deletions
|
@ -71,6 +71,9 @@ const char *PixelShaderVersionString();
|
|||
const char *VertexShaderVersionString();
|
||||
void ShowD3DError(HRESULT err);
|
||||
|
||||
// returns true if size was changed
|
||||
bool FixTextureSize(int& width, int& height);
|
||||
|
||||
// The following are "filtered" versions of the corresponding D3Ddev-> functions.
|
||||
void SetTexture(DWORD Stage, IDirect3DBaseTexture9 *pTexture);
|
||||
void SetRenderState(D3DRENDERSTATETYPE State, DWORD Value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue