mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-11 03:56:02 +00:00
Made several variables/parameters unsigned in the DX9, DX11 and OGL plugins. They make more sense like this (given their names).
This also gets rid of some more typecasts in some cases.
This commit is contained in:
parent
7e5d877858
commit
8743166663
16 changed files with 98 additions and 104 deletions
|
@ -75,7 +75,7 @@ const char *VertexShaderVersionString();
|
|||
void ShowD3DError(HRESULT err);
|
||||
|
||||
// returns true if size was changed
|
||||
bool FixTextureSize(int& width, int& height);
|
||||
bool FixTextureSize(u32& width, u32& height);
|
||||
|
||||
// returns true if format is supported
|
||||
bool CheckTextureSupport(DWORD usage, D3DFORMAT tex_format);
|
||||
|
@ -115,8 +115,8 @@ void EnableAlphaToCoverage();
|
|||
struct Resolution
|
||||
{
|
||||
char name[32];
|
||||
int xres;
|
||||
int yres;
|
||||
unsigned int xres;
|
||||
unsigned int yres;
|
||||
std::set<D3DFORMAT> bitdepths;
|
||||
std::set<int> refreshes;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue