Explorar el Código

On 32bit we should try DX9 too on Win 8

Miodrag Milanovic hace 11 años
padre
commit
13ca8fc45b
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/bgfx.cpp

+ 2 - 0
src/bgfx.cpp

@@ -1365,6 +1365,8 @@ again:
 				{
 					first  = RendererType::Direct3D11 /* Direct3D12 */;
 					second = RendererType::Direct3D11;
+					if (!s_rendererCreator[second].supported)
+						second = RendererType::Direct3D9;
 				}
 				else if (windowsVersionIsOrAbove(0x0601) )
 				{