Changed D3D api to D3D11

Changed mesh to D3D11
Changed material to D3D11 (WIP)
This commit is contained in:
2026-11-23 15:57:28 +01:00
parent 024a283898
commit 85d8830b84
12 changed files with 282 additions and 182 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ INT Window::init(HINSTANCE hInstance, UINT width, UINT height)
// 1. describe window class
WNDCLASS wc = {};
wc.hInstance = hInstance;
wc.lpszClassName = TEXT("D3D9"); // class name
wc.lpszClassName = TEXT("D3D11"); // class name
wc.lpfnWndProc = WindowProc; // callback function for windows to communicate with our application
wc.hbrBackground = CreateSolidBrush(RGB(0, 255, 0));
wc.hCursor = LoadCursor(nullptr, IDC_ARROW);