-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
OpenGlControlBase
enters OnOpenGlInit
with OpenGL errors
#13807
Labels
Comments
|
Still in Avalonia 11.0.10 |
@Dragorn421 if you wanted to check newer version, worth to try 11.1 betas |
Still in Avalonia 11.1.1 |
maxkatz6
added
help-wanted
A contribution from the community would be most welcome.
area-rendering
labels
Jul 30, 2024
Dragorn421
added a commit
to Dragorn421/Avalonia
that referenced
this issue
Jul 30, 2024
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
When implement
OnOpenGlInit
in anOpenGlControlBase
and checkinggl.GetError()
for any error, there is one, presumably from something in Avalonia's code.To Reproduce
Steps to reproduce the behavior:
GL1.CheckError 1280
. It is printed by https://github.com/Dragorn421/DragoStuff/blob/ffe12b1003c3e6cd92419d7fdaab97b3c90c5dc4/MyOpenGLControl.cs#L29 , before the child control does any OpenGL call, so it seems to be an error originating from something in Avalonia.Expected behavior
gl.GetError()
should always returnGL_NO_ERROR
on entering child/user methods likeOnOpenGlInit
Environment
The text was updated successfully, but these errors were encountered: