Changed D3D api to D3D11
Changed mesh to D3D11 Changed material to D3D11 (WIP)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user