|
Hi,
I use C# with CsGL to build the 3D models based OpenGL.Now i want to plaint the texture with the class OpenGLTexture2D.But when i use the phrase "private OpenGLTexture2D tex = new OpenGLTexture2D(@"text.bmp");" to construct the class,there will report the error of "TypeInitializationException was unhandled" in the phrase "Application.Run(new MainForm());" in the file of Program.cs.
How can i deal with this problem? i use the vs2005 and csgl 1.4.1.0
Thanks.... | | |