Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The 'threads' example fails on windows machine #221

Open
errata-c opened this issue Jan 22, 2021 · 0 comments
Open

The 'threads' example fails on windows machine #221

errata-c opened this issue Jan 22, 2021 · 0 comments

Comments

@errata-c
Copy link

errata-c commented Jan 22, 2021

OS: Windows 10 build 19041.746
GPU: AMD Radeon R9 390, Radeon software version 20.11.2
Built from commit d6403d1

On running the example, this assert triggers:
assert!(!gl_dx_interop_device.is_null());
in file surfman/src/platform/windows/wgl/device.rs: 157

Checking the error code with errhandlingapi::GetLastError returns 13, or ERROR_INVALID_DATA.
I don't know what to make of this, because wglDXOpenDeviceNV supposedly only generates ERROR_OPEN_FAILED or
ERROR_NOT_SUPPORTED. Checking GetLastError prior to the call to wglDXOpenDeviceNV returns 0, ERROR_SUCCESS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant