How do I open a dual graphic screen in blitzmax

Started by Hardcoal, March 16, 2018, 00:04:51

Previous topic - Next topic

Hardcoal

I used to know that.. but Ive lost the example File.. Thanks..
Code

markcwm

At init use GLShareContexts() then SetGraphics CanvasGraphics(canvas) for Maxgui or GLMax2DDriver() for Max2d. Use SetGraphics at graphics init and then each render loop followed by SetViewport(0, 0, ClientWidth(canvas), ClientHeight(canvas)). I think that's all you need, see openb3d examples/minib3d/maxgui2.bmx