Oops, ignore DX9 on non-Windows.

This probably had broken Qt before, whoops.
This commit is contained in:
Unknown W. Brackets 2014-12-20 23:31:16 -08:00
parent fed8b48e04
commit 306786db60

View file

@ -43,8 +43,10 @@ bool TakeGameScreenshot(const char *filename, ScreenshotFormat fmt, ScreenshotTy
} else {
if (g_Config.iGPUBackend == GPU_BACKEND_OPENGL) {
success = GLES_GPU::GetDisplayFramebuffer(buf);
#ifdef _WIN32
} else if (g_Config.iGPUBackend == GPU_BACKEND_DIRECT3D9) {
success = DX9::DIRECTX9_GPU::GetDisplayFramebuffer(buf);
#endif
}
}