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

AWTGLCanvas context delete on removeNotify #41

Open
repalash opened this issue Jan 22, 2021 · 3 comments
Open

AWTGLCanvas context delete on removeNotify #41

repalash opened this issue Jan 22, 2021 · 3 comments

Comments

@repalash
Copy link

repalash commented Jan 22, 2021

context is set to 0 in removeNotify of AWTGLCanvas, but not deleted. As a result the drawing surface does not get hidden.
There is platformCanvas.deleteContext method, is it called somewhere, or do we need to call it separately?

[MacOS 10.14.6]

@repalash
Copy link
Author

Update: Adding deleteContext to removeNotify in AWTGLCanvas fixes the hide/show issue. Shouldn't it be done internally?

@repalash
Copy link
Author

This might be the same issue as #40

@httpdigest
Copy link
Member

@tisoft is not watching the repo, so I'll just mention him.

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

2 participants