Skip to content

Steam Overlay fails to hook into Device Context Creation and SwapBuffers #143

Description

@Vercidium

I am attempting to integrate the Steam Overlay with my Windows game, however it doesn't render on top of the window.

I created a new blank test project and used another OpenGL C# wrapper, and the Steam Overlay worked successfully. I then switched this test project over to OpenGL.Net, however the Steam Overlay was invisible again.

The Steam Overlay works by hooking into the device creation, as well as hooking into the swap buffers call and doing its rendering there. The Steam documentation specifies that the overlay must be initialised 'prior to initializing the OpenGL/D3D device, otherwise it won't be able to hook the device creation'.

Is there anything happening in the way OpenGL.Net creates the device context that could be confusing the Steam Overlay, or causing it to hook into the wrong context?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions