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:
NeoBrainX
2013-03-01 01:31:57 +01:00
parent 1c9860246c
commit cbf5efe191
6 changed files with 7 additions and 8 deletions

View File

@ -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;
}