mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
w
This commit is contained in:
@@ -1460,6 +1460,7 @@ static inline DWORD WINAPI GuiThread(LPVOID)
|
||||
// Initialize Direct3D
|
||||
if (!CreateDeviceD3D(hwnd))
|
||||
{
|
||||
LOG_ERROR(LogDev, "Failed to create D3D Device!");
|
||||
CleanupDeviceD3D();
|
||||
::UnregisterClass(wc.lpszClassName, wc.hInstance);
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user