husker-dev / openglfx

OpenGL implementation for JavaFX
Apache License 2.0
80 stars 10 forks source link

RenderDoc + WGL_NV_DX_interop crash #39

Open husker-dev opened 9 months ago

husker-dev commented 9 months ago

Description

For some reason, any use of functions from WGL_NV_DX_interop creates some problems with the renderdoc.dll attached.

The wglDXOpenDeviceNV returns 0 and no other functions can be used. This makes it impossible to use RenderDoc with WGL_NV_DX_interop.

Workaround

Set the interopType to Blit

OpenGLCanvas.create(..., interopType = GLInteropType.Blit)