Can not draw images to second Canvas

BlitzMax Forums/MaxGUI Module/Can not draw images to second Canvas

TAS(Posted 2013) [#1]
If I use SetGraphicsDriver GLMax2DDriver() command my window canvas works fine but any images drawn to a support window canvas are blank rectangles in the color determined by SetColor. Is it wrong to use this command in conjunction with MaxGui.Drivers or I'm missing something?


d-bug(Posted 2013) [#2]
Use GLShareContexts() before any graphics context is initialized. This should fix it.


TAS(Posted 2013) [#3]
Thanks, it work