fixed D3D init
This commit is contained in:
1 parent
2f17b3b43a
commit
093e8f42de
1 file changed
+1
-1
@@ -179,7 +179,7 @@ namespace Vocaluxe.Lib.Draw
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
_Device = new Device(_D3D, _D3D.Adapters.DefaultAdapter.Adapter, DeviceType.Hardware, Handle, flags, _PresentParameters);
|
_Device = new Device(_D3D, _D3D.Adapters.DefaultAdapter.Adapter, DeviceType.Hardware, Handle, flags, _PresentParameters);
|
||||||
_Device.Dispose();
|
//_Device.Dispose();
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user