Remove more references to D3D9...
This commit is contained in:
parent
61ed40749f
commit
d198fee21b
|
@ -1142,7 +1142,6 @@ static inline void WriteAlphaTest(T& out, pixel_shader_uid_data& uid_data, API_T
|
||||||
|
|
||||||
out.SetConstantsUsed(C_ALPHA, C_ALPHA);
|
out.SetConstantsUsed(C_ALPHA, C_ALPHA);
|
||||||
|
|
||||||
// using discard then return works the same in cg and dx9 but not in dx11
|
|
||||||
out.Write("\tif(!( ");
|
out.Write("\tif(!( ");
|
||||||
|
|
||||||
uid_data.alpha_test_comp0 = bpmem.alpha_test.comp0;
|
uid_data.alpha_test_comp0 = bpmem.alpha_test.comp0;
|
||||||
|
|
|
@ -135,7 +135,7 @@ public:
|
||||||
extern std::vector<VideoBackend*> g_available_video_backends;
|
extern std::vector<VideoBackend*> g_available_video_backends;
|
||||||
extern VideoBackend* g_video_backend;
|
extern VideoBackend* g_video_backend;
|
||||||
|
|
||||||
// inherited by dx9/dx11/ogl backends
|
// inherited by D3D/OGL backends
|
||||||
class VideoBackendHardware : public VideoBackend
|
class VideoBackendHardware : public VideoBackend
|
||||||
{
|
{
|
||||||
void RunLoop(bool enable);
|
void RunLoop(bool enable);
|
||||||
|
|
Loading…
Reference in New Issue