j'ai cree un control directx qui est afficher dans une form
et des fois quand je change de fenetre ou d'application avec Alt+tab j'ai un pantage
voici le detail de l'erreur.
Microsoft.DirectX.Direct3D.DriverInternalErrorException was unhandled
Message="Error in the application."
Source="Microsoft.DirectX.Direct3D"
ErrorCode=-2005530585
ErrorString="D3DERR_DRIVERINTERNALERROR"
StackTrace:
at Microsoft.DirectX.Direct3D.Device.Reset(PresentParameters[] presentationParameters)
at Microsoft.DirectX.Direct3D.Device.OnParentResized(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnResize(EventArgs e)
at System.Windows.Forms.UserControl.OnResize(EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
....
j'ai ete obligé de couper, il y avais trop de lignes
si quelqu'un peut m'aider merci d'avance
Partager