I'm having this line come up in my DebugLog whenever my program ends:
RESOURCE MANAGER : Couldn't unload the 3d device. Number of not unloaded objects : 2
This is when testing with the most basic scene with nothing loaded, just initialize the TV3D engine and then quit. A quick search turned up this. I'm using the latest version of the wrapper (approx Jan this year).
Here's a bit of code to show the problem.
SuperStrict
Import glimmer.tv3d65
Global TV3D:CTVEngine
Global TV3DWindow:CTVWindow
TV3D = CTVEngine.Create()
TV3D.SetDebugFile CurrentDir ( ) + "\Debug.txt"
TV3DWindow = CTVWindow.Create ( 640 , 480 , "" )
TV3D.Init3DWindowed ( TV3DWindow.hWnd, False )
TV3D.DisplayFPS ( True )
While ( TV3DWindow.AppQuit = False )
If TV3DWindow.Update ( ) = True
TV3D.Clear ( )
TV3D.RenderToScreen ( )
EndIf
Wend
TV3D.ReleaseAll ( )
TV3D = Null
TV3DWindow = Null
GCCollect
End
Anyone else using TV3D have this problem?
|