changing pixmaps within an image

BlitzMax Forums/BlitzMax Programming/changing pixmaps within an image

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.

PantsOn:
'OpenGL

SetGraphicsDriver(GLMax2DDriver())


Graphics 800,600,0,-1

If TGLMax2DDriver(_max2dDriver) <> Null Then  
	Print "OpenGL"
ElseIf TD3D7Max2DDriver(_max2dDriver) <> Null
	Print "DX7"
Else
	Print "No device created"
EndIf


EndGraphics()

'DX7 Test

SetGraphicsDriver(D3D7Max2DDriver())


Graphics 800,600,0,-1

If TGLMax2DDriver(_max2dDriver) <> Null Then  
	Print "OpenGL"
ElseIf TD3D7Max2DDriver(_max2dDriver) <> Null
	Print "DX7"
Else
	Print "No device created"
EndIf


EndGraphics()

'No Graphics


If TGLMax2DDriver(_max2dDriver) <> Null Then  
	Print "OpenGL"
ElseIf TD3D7Max2DDriver(_max2dDriver) <> Null
	Print "DX7"
Else
	Print "No device created"
EndIf