Skip to content

Attempting to use this with LibGDX results in having a separate window. #78

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

Open
videogreg93 opened this issue Aug 14, 2021 · 2 comments

Comments

@videogreg93
Copy link

When trying to use this in with LibGDX, it's impossible to get it rendering inside of the main window.

  • Using JImGui(Gdx.graphics.width, Gdx.graphics.height, JImFontAtlas(), "", (Gdx.graphics as Lwjgl3Graphics).window.windowHandle) results in a second window being created on top of the main one.
  • Using JImGui.fromExistingPointer((Gdx.graphics as Lwjgl3Graphics).window.windowHandle) results in the follow crash : AL lib: (EE) alc_cleanup: 1 device not closed
@ice1000
Copy link
Owner

ice1000 commented Aug 14, 2021

I just don't know how to do it. Past attempts (with lots of nice people helping me) failed without exceptions. I am unfamiliar with libgdx/lwjgl.

@jakelampack
Copy link

Would love to find a way for this to work. I've been trying to figure out how to create a 3d context with Imgui/libgdx and custom shaders, etc.

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

3 participants