Changed D3D9 to D3D11 api connection

Changed mesh to D3D11
Changed material to D3D11 (WIP)
This commit is contained in:
2026-11-23 12:31:31 +01:00
parent abb8da9cff
commit 204c55e915
14 changed files with 288 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");
wc.lpszClassName = TEXT("D3D11");
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);