Commit 0bcb2de6 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Handle Windows 8.1 in wined3d_driver_info_init().

parent 68c66557
...@@ -119,7 +119,9 @@ ULONG CDECL wined3d_decref(struct wined3d *wined3d) ...@@ -119,7 +119,9 @@ ULONG CDECL wined3d_decref(struct wined3d *wined3d)
* 5 -> 2000 * 5 -> 2000
* 6 -> 2000/XP * 6 -> 2000/XP
* 7 -> Vista * 7 -> Vista
* 8 -> Win 7 * 8 -> Windows 7
* 9 -> Windows 8
* 10 -> Windows 10
* *
* "y" is the maximum Direct3D version the driver supports. * "y" is the maximum Direct3D version the driver supports.
* y -> d3d version mapping: * y -> d3d version mapping:
...@@ -589,7 +591,7 @@ void wined3d_driver_info_init(struct wined3d_driver_info *driver_info, ...@@ -589,7 +591,7 @@ void wined3d_driver_info_init(struct wined3d_driver_info *driver_info,
} }
else else
{ {
if (os_version.dwMinorVersion > 2) if (os_version.dwMinorVersion > 3)
{ {
FIXME("Unhandled OS version %u.%u, reporting Win 8.\n", FIXME("Unhandled OS version %u.%u, reporting Win 8.\n",
os_version.dwMajorVersion, os_version.dwMinorVersion); os_version.dwMajorVersion, os_version.dwMinorVersion);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment