mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06: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:
@ -97,9 +97,6 @@ void InitBackendInfo()
|
||||
g_Config.backend_info.bSupports3DVision = true;
|
||||
g_Config.backend_info.bSupportsDualSourceBlend = false;
|
||||
g_Config.backend_info.bSupportsFormatReinterpretation = true;
|
||||
g_Config.backend_info.bSupportsPixelPerfQuery = false;
|
||||
|
||||
|
||||
g_Config.backend_info.bSupportsPixelLighting = C_PLIGHTS + 40 <= maxConstants && C_PMATERIALS + 4 <= maxConstants;
|
||||
|
||||
// adapters
|
||||
@ -159,6 +156,12 @@ bool VideoBackend::Initialize(void *&window_handle)
|
||||
|
||||
s_BackendInitialized = true;
|
||||
|
||||
if (!g_Config.bDisablePixelPerf)
|
||||
{
|
||||
OSD::AddMessage("PE perf metrics enabled although the D3D9 backend doesn't support them!");
|
||||
OSD::AddMessage("Try a different backend when issues arise.");
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user