mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-05 17:15:49 +00:00
Some cleanups.
PE perf metrics officially declared unsupported for the D3D9 project (out of pure laziness, anyone who cares can implement them :P).
This commit is contained in:
parent
1c9860246c
commit
cbf5efe191
6 changed files with 7 additions and 8 deletions
|
@ -22,7 +22,7 @@ namespace OSD
|
|||
{
|
||||
|
||||
// On-screen message display
|
||||
void AddMessage(const char* str, u32 ms);
|
||||
void AddMessage(const char* str, u32 ms = 2000);
|
||||
void DrawMessages(); // draw the current messages on the screen. Only call once per frame.
|
||||
void ClearMessages();
|
||||
|
||||
|
|
|
@ -174,7 +174,6 @@ void VideoConfig::VerifyValidity()
|
|||
if (!backend_info.bSupports3DVision) b3DVision = false;
|
||||
if (!backend_info.bSupportsFormatReinterpretation) bEFBEmulateFormatChanges = false;
|
||||
if (!backend_info.bSupportsPixelLighting) bEnablePixelLighting = false;
|
||||
if (!backend_info.bSupportsPixelPerfQuery) bDisablePixelPerf = true;
|
||||
}
|
||||
|
||||
void VideoConfig::Save(const char *ini_file)
|
||||
|
|
|
@ -163,7 +163,6 @@ struct VideoConfig
|
|||
bool bSupportsDualSourceBlend; // only supported by D3D11 and OpenGL
|
||||
bool bSupportsFormatReinterpretation;
|
||||
bool bSupportsPixelLighting;
|
||||
bool bSupportsPixelPerfQuery;
|
||||
} backend_info;
|
||||
|
||||
// Utility
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue