Hi :)
I have a problem with a primary device and alt tab ?
when a made a ALT TAB the program crash at this line
"PrimaryDevice.device.DrawPrimitive(RenderType,D...."
Is there a way to stop the rendering/freeze rendering
to prevent ALT TAB crash ?
I have a problem with a primary device and alt tab ?
when a made a ALT TAB the program crash at this line
"PrimaryDevice.device.DrawPrimitive(RenderType,D...."
Is there a way to stop the rendering/freeze rendering
to prevent ALT TAB crash ?
If (DX) Then
TD3D7Max2DDriver(_max2dDriver).SetActiveFrame(DXFrame)
PrimaryDevice.Device.EndScene()
PrimaryDevice.device.DrawPrimitive(RenderType,D3DFVF_XYZ|D3DFVF_NORMAL|D3DFVF_DIFFUSE|D3DFVF_TEX1,xyuv,segs,0)
PrimaryDevice.Device.BeginScene()
ElseIf Line = True
GLEnd()
EndIf