D3D: Cosmetics.

Merge two cases which should've already been merged.
This commit is contained in:
Jules Blok 2015-06-24 23:16:53 +02:00
parent 743296f1c4
commit dbfdbf7dbd
2 changed files with 1 additions and 5 deletions

View File

@ -83,7 +83,7 @@ void InitBackendInfo()
g_Config.backend_info.bSupports3DVision = true;
g_Config.backend_info.bSupportsPostProcessing = false;
g_Config.backend_info.bSupportsPaletteConversion = true;
g_Config.backend_info.bSupportsClipControl = false;
g_Config.backend_info.bSupportsClipControl = true;
IDXGIFactory* factory;
IDXGIAdapter* ad;

View File

@ -383,10 +383,6 @@ static inline void GenerateVertexShader(T& out, u32 components, API_TYPE api_typ
{
out.Write("o.pos.z = -o.pos.z;\n");
}
else if (api_type == API_D3D)
{
out.Write("o.pos.z = -o.pos.z;\n");
}
else // OGL
{
// this results in a scale from -1..0 to -1..1 after perspective