Added link to directx runtimes
This commit is contained in:
1 parent
2f5cbfe066
commit
fd946dfcdb
1 file changed
+1
-2
@@ -168,7 +168,7 @@ namespace Vocaluxe.Lib.Draw
|
|||||||
_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);
|
||||||
|
|
||||||
if(_Device.Disposed || _D3D.Disposed || _Device == null || _D3D == null)
|
if(_Device.Disposed || _D3D.Disposed || _Device == null || _D3D == null)
|
||||||
CLog.LogError("Something went wrong with device creating, please check if your DirectX redistributables and graficcard drivers are up to date");
|
CLog.LogError("Something went wrong with device creating, please check if your DirectX redistributables and graficcard drivers are up to date. You can download the DirectX runtimes at http://www.microsoft.com/download/en/details.aspx?id=8109");
|
||||||
|
|
||||||
this.CenterToScreen();
|
this.CenterToScreen();
|
||||||
}
|
}
|
||||||
@@ -197,7 +197,6 @@ namespace Vocaluxe.Lib.Draw
|
|||||||
protected override void OnResize(EventArgs e)
|
protected override void OnResize(EventArgs e)
|
||||||
{
|
{
|
||||||
base.OnResize(e);
|
base.OnResize(e);
|
||||||
this.ClientSize = this.ClientSize;
|
|
||||||
RResize();
|
RResize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user