mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-13 21:12:09 +00:00
- Fixed: Crash when loading a rom with an unknown file extension.
- Fixed: Crash when stopping a game. - Improved: DirectX Plugin. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@237 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
e3f3a7a41d
commit
8c132bdae5
19 changed files with 429 additions and 152 deletions
|
@ -16,10 +16,10 @@ namespace D3D
|
|||
{
|
||||
enum ShaderVersion
|
||||
{
|
||||
PSNONE=0,
|
||||
PS20=2,
|
||||
PS30,
|
||||
PS40,
|
||||
PSNONE = 0,
|
||||
PS20 = 2,
|
||||
PS30 = 3,
|
||||
PS40 = 4,
|
||||
};
|
||||
|
||||
HRESULT Init();
|
||||
|
@ -41,11 +41,6 @@ namespace D3D
|
|||
void ShowD3DError(HRESULT err);
|
||||
void EnableAlphaToCoverage();
|
||||
|
||||
extern int psMajor;
|
||||
extern int psMinor;
|
||||
extern int vsMajor;
|
||||
extern int vsMinor;
|
||||
|
||||
struct Resolution
|
||||
{
|
||||
char name[32];
|
||||
|
@ -70,10 +65,16 @@ namespace D3D
|
|||
std::vector<AALevel> aa_levels;
|
||||
bool supports_alpha_to_coverage;
|
||||
};
|
||||
|
||||
struct Shader
|
||||
{
|
||||
int Minor;
|
||||
int Major;
|
||||
};
|
||||
|
||||
const Adapter &GetAdapter(int i);
|
||||
const Adapter &GetCurAdapter();
|
||||
int GetNumAdapters();
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue