D3D: Cosmetics.
Merge two cases which should've already been merged.
This commit is contained in:
parent
743296f1c4
commit
dbfdbf7dbd
|
@ -83,7 +83,7 @@ void InitBackendInfo()
|
||||||
g_Config.backend_info.bSupports3DVision = true;
|
g_Config.backend_info.bSupports3DVision = true;
|
||||||
g_Config.backend_info.bSupportsPostProcessing = false;
|
g_Config.backend_info.bSupportsPostProcessing = false;
|
||||||
g_Config.backend_info.bSupportsPaletteConversion = true;
|
g_Config.backend_info.bSupportsPaletteConversion = true;
|
||||||
g_Config.backend_info.bSupportsClipControl = false;
|
g_Config.backend_info.bSupportsClipControl = true;
|
||||||
|
|
||||||
IDXGIFactory* factory;
|
IDXGIFactory* factory;
|
||||||
IDXGIAdapter* ad;
|
IDXGIAdapter* ad;
|
||||||
|
|
|
@ -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");
|
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
|
else // OGL
|
||||||
{
|
{
|
||||||
// this results in a scale from -1..0 to -1..1 after perspective
|
// this results in a scale from -1..0 to -1..1 after perspective
|
||||||
|
|
Loading…
Reference in New Issue