Hey, I'm having an app that is using a DirectX GraphicMode and a Window with a canvas.
Now I use SetGraphics(CanvasGraphics(MyCanvas)) to draw things to my window, but how can I jump back to the DirectX-GraphicMode? Is there a global graphic object I can use with SetGraphics, somethig like SetGraphics(MyGraphicObject)???
I tried to set a handle to it, but the following code doesn't work:
Global MyGraphics:TGraphics = Graphics(640,480,0,60)
Now I use SetGraphics(CanvasGraphics(MyCanvas)) to draw things to my window, but how can I jump back to the DirectX-GraphicMode? Is there a global graphic object I can use with SetGraphics, somethig like SetGraphics(MyGraphicObject)???
I tried to set a handle to it, but the following code doesn't work:
Global MyGraphics:TGraphics = Graphics(640,480,0,60)