Minib3d and Maxgui (3d in a canvas)

BlitzMax Modules Forums/MiniB3D/Minib3d and Maxgui (3d in a canvas)

Case EVENT_WINDOWSIZE
			'SetGadgetShape Cnv_G3D, 0, 0, ClientWidth(Wnd_Main), ClientHeight(Wnd_Main)
			TGlobal.width = ClientWidth(Cnv_G3D)
			TGlobal.height = ClientHeight(Cnv_G3D)
                        CameraViewport(Cam,0,0,TGlobal.Width,TGlobal.Height)


You have to manually update the CameraViewport to the new size.