picoe / Eto.OpenTK

Eto OpenGL viewport (C#)
MIT License
24 stars 41 forks source link

Black screen on Mac with complex layouts. #13

Closed maxvoxel8 closed 6 years ago

maxvoxel8 commented 6 years ago

I am seeing a black screen appear on the Mac version when I use etoViewport in a complex layout. When exactly the viewport turns black is not clear to me but I think it has something to do with when the viewport has a definite size in the UI when it is first rendered. For example if I make the following small change to TestEtoGl.XamMac/MainForm.cs (running from TestEtoGl.Mac):

screen shot 2017-11-06 at 12 41 32 pm

I see the following:

screen shot 2017-11-06 at 12 36 44 pm

But if I remove the Begin/EndVertical it renders fine. Needless to say this unpredictability makes it very difficult to create layouts.