Commit bb57b044 authored by Gauthier Quesnel's avatar Gauthier Quesnel
Browse files

gui: rename main window title

parent 8d8d7e93
...@@ -80,7 +80,7 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[]) ...@@ -80,7 +80,7 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[])
// Create window with graphics context // Create window with graphics context
GLFWwindow* window = glfwCreateWindow( GLFWwindow* window = glfwCreateWindow(
1280, 720, "Dear ImGui GLFW+OpenGL3 example", NULL, NULL); 1280, 720, "irritator", NULL, NULL);
if (window == NULL) if (window == NULL)
return 1; return 1;
glfwMakeContextCurrent(window); glfwMakeContextCurrent(window);
......
...@@ -62,9 +62,9 @@ LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); ...@@ -62,9 +62,9 @@ LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
int main(int, char**) int main(int, char**)
{ {
// Create application window // Create application window
WNDCLASSEX wc = { sizeof(WNDCLASSEX), CS_CLASSDC, WndProc, 0L, 0L, GetModuleHandle(NULL), NULL, NULL, NULL, NULL, _T("ImGui Example"), NULL }; WNDCLASSEX wc = { sizeof(WNDCLASSEX), CS_CLASSDC, WndProc, 0L, 0L, GetModuleHandle(NULL), NULL, NULL, NULL, NULL, _T("Irritator"), NULL };
::RegisterClassEx(&wc); ::RegisterClassEx(&wc);
HWND hwnd = ::CreateWindow(wc.lpszClassName, _T("Dear ImGui DirectX12 Example"), WS_OVERLAPPEDWINDOW, 100, 100, 1280, 800, NULL, NULL, wc.hInstance, NULL); HWND hwnd = ::CreateWindow(wc.lpszClassName, _T("Irritator"), WS_OVERLAPPEDWINDOW, 100, 100, 1280, 800, NULL, NULL, wc.hInstance, NULL);
// Initialize Direct3D // Initialize Direct3D
if (!CreateDeviceD3D(hwnd)) if (!CreateDeviceD3D(hwnd))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment