OpenGlControlBase
enters OnOpenGlInit
with OpenGL errors
#13807
Labels
OpenGlControlBase
enters OnOpenGlInit
with OpenGL errors
#13807
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: