DiligentCore icon indicating copy to clipboard operation
DiligentCore copied to clipboard

AttachToActiveGLContext Crashed in Windows

Open HW140701 opened this issue 8 months ago • 18 comments

I have created an OpenGL context in the main window through other methods. When I use AttachToActiveGLContext to bind the current default context, my demo crashes directly, outputting: User-defined allocator is not provided. Using default allocator. Then there is no other output and it crashes directly.

I guess the created OpenGL context is being used by another thread, and then the crash occurs when the context is bound using AttachToActiveGLContext?

  • OS and version you are running:Windows 10 19045.3930
  • Build tools and configuration you used to build the engine: (e.g. Visual Studio 2019 Debug x64 + CMake 3.29.5)
  • GPU and driver version you have installed on your system :NVIDIA 1060 6G,4.6.0 NVIDIA 552.44
  • Debug output, especially messages from Diligent:User-defined allocator is not provided. Using default allocator.

HW140701 avatar Jun 20 '24 02:06 HW140701