dx9: Explicitly specify the backbuffer size.

Some people are getting black screens with Direct3D9 now, this is just a
theory.  Can revert if it doesn't help.
This commit is contained in:
Unknown W. Brackets 2014-12-27 09:56:21 -08:00
parent 93fee10899
commit 853e81cf03
2 changed files with 22 additions and 14 deletions

View file

@ -713,9 +713,9 @@ void NativeRender() {
TakeScreenshot();
}
if (g_Config.iGPUBackend == GPU_BACKEND_DIRECT3D9) {
if (resized) {
resized = false;
if (resized) {
resized = false;
if (g_Config.iGPUBackend == GPU_BACKEND_DIRECT3D9) {
#ifdef _WIN32
D3D9_Resize(0);
#endif