FAQ for MiniB3d error messages

BlitzMax Modules Forums/MiniB3D/FAQ for MiniB3d error messages

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.

ok, here is what we mean by -complete code that illustrates the problem-

SuperStrict
Import sidesign.MiniB3D

Local foo:TTexture = CreateTexture(19,19)
Local sprite:Tsprite = CreateSprite()
EntityTexture sprite,foo
Local cam:Tcamera = CreateCamera() ; MoveEntity cam,0,0,-10

Graphics3D 800,600

Repeat
	RenderWorld ; Flip 
Until KeyDown(KEY_ESCAPE)


if you move the
Graphics3D 800,600
to the top (above the createxxx commands) it works. you need to create a 3D context before doing any loading of textures/sprites/meshes