fixed D3D init

This commit is contained in:
Alexander Eckart committed 2012-03-22 16:04:20 +01:00
1 parent 2f17b3b43a
commit 093e8f42de
1 file changed
+1 -1
+1 -1
View File
@@ -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)
{ {