max2d on MaxGui canvas - resize trouble

BlitzMax Modules Forums/MiniB3D/max2d on MaxGui canvas - resize trouble

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Sorry for the delay: here is a solution for your problem:

Replace the BeginMax2D() code block in your code with this:

		
	BeginMax2D() ' MiniB3D function
	glViewport(0,0,TGlobal.Width,TGlobal.Height)
		glScissor(0,0,TGlobal.Width,TGlobal.Height)