opengl32: fix wglCreateContextAttribsARB on nvidia

Dmitry Timoshkov dmitry at codeweavers.com
Tue Nov 24 02:10:53 CST 2009


"Roderick Colenbrander" <thunderbird2k at gmail.com> wrote:

> +/* Nvidia converts win32 error codes to (0xc007 << 16) | win32_error_code */
> +#define NVIDIA_HRESULT_FROM_WIN32(x) (HRESULT_FROM_WIN32(x) | 0x40000000)

Using MAKE_HRESULT() with appropriate severity and facility would be
cleaner IMO.

-- 
Dmitry.



More information about the wine-devel mailing list