Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when open Polyhedron #6

Open
kant2002 opened this issue Jul 31, 2022 · 1 comment
Open

Exception when open Polyhedron #6

kant2002 opened this issue Jul 31, 2022 · 1 comment

Comments

@kant2002
Copy link

When opening Polyhedron tab on my PC. On other laptop tab was opening fine.

System.ArgumentException: Value does not fall within the expected range.
   at Test.DX11Ctrl.IDevice.CreatePixelShader(Byte* ShaderBytecode, IntPtr BytecodeLength, Void* ClassLinkage)
   at Test.DX11Ctrl.apply() in c:\RationalNumerics\Test\mini3d\DX11Ctrl.cs:line 388
   at Test.DX11Ctrl.DC.DrawMesh(VertexBuffer vb, IndexBuffer ib, Int32 i, Int32 n) in c:\RationalNumerics\Test\mini3d\DX11Ctrl.cs:line 1223
   at Test.DX11ModelCtrl.render(DC dc, Int32 was, Group[] nodes) in c:\RationalNumerics\Test\mini3d\DX11ModelCtrl.cs:line 86
   at Test.DX11ModelCtrl.OnRender(DC dc) in c:\RationalNumerics\Test\mini3d\DX11ModelCtrl.cs:line 107
   at Test.DX11Ctrl.Refresh() in c:\RationalNumerics\Test\mini3d\DX11Ctrl.cs:line 147
   at Test.DX11Ctrl.WndProc(Message& m) in c:\RationalNumerics\Test\mini3d\DX11Ctrl.cs:line 621
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
@kant2002
Copy link
Author

My video card is NVIDIA GeForce 210 where it fails. If some requirement are not met, maybe at least try/catch inside WndProc, so application would not crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant