Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 来自.NET程序的OpenGL警告_C#_.net_Xaml_Opengl_Virtualbox - Fatal编程技术网

C# 来自.NET程序的OpenGL警告

C# 来自.NET程序的OpenGL警告,c#,.net,xaml,opengl,virtualbox,C#,.net,Xaml,Opengl,Virtualbox,此警告的可能原因是什么 OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr 这是一个C#应用程序,以前已知它在Windows7上使用VisualStudio2008和MySQL构建,并为桌面(而非浏览器)显示一个简单的XAML对话框。此项目已在Windows 8上重建(编译)(在Ubuntu 12.04和VirtualBox 4.3.2中启用2D和3D加速)并使用Visual C 2010构建。据我记

此警告的可能原因是什么

OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr

这是一个C#应用程序,以前已知它在
Windows7
上使用
VisualStudio2008
MySQL
构建,并为桌面(而非浏览器)显示一个简单的XAML对话框。此项目已在Windows 8上重建(编译)(在Ubuntu 12.04和VirtualBox 4.3.2中启用2D和3D加速)并使用Visual C 2010构建。据我记忆所及,这个应用程序与图形无关,所以这个警告令人惊讶。应用程序只需读取
XML
文件,并将数据插入
MySQL
表中,完成后显示一个简单的对话框。

关闭VirtualBox的3D加速,问题就不再出现。简单的XAML对话框不会从所谓的“3D”效果中获得太多好处,因此不会有明显的好处

同样的解决方案还将消除应用程序退出时发生的以下错误

err:[0xc784]:d3d_surface:D:\tinderbox\add-4.3\src\VBox\Additions\WINNT\Graphics\Wine_new\wined3d\surface.c 6245: Surface 000000001CCDFB30 does not have any tp to date location.

关闭VirtualBox的3D加速,问题将不再出现。简单的XAML对话框不会从所谓的“3D”效果中获得太多好处,因此不会有明显的好处

同样的解决方案还将消除应用程序退出时发生的以下错误

err:[0xc784]:d3d_surface:D:\tinderbox\add-4.3\src\VBox\Additions\WINNT\Graphics\Wine_new\wined3d\surface.c 6245: Surface 000000001CCDFB30 does not have any tp to date location.