summaryrefslogtreecommitdiff
path: root/project-base
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-12-02 16:04:43 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-12-02 16:04:43 +0100
commit88bd43c093e0280258fd36a584fad9d3786dacf1 (patch)
tree59c76cc597b819c6c775365f449248c5ffe3f4e6 /project-base
parent9508c6e65c7ff25da8848ca7e17e2220acb5ee5c (diff)
window icon
Diffstat (limited to 'project-base')
-rw-r--r--project-base/src/windows/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/project-base/src/windows/platform.c b/project-base/src/windows/platform.c
index 52bf1df..119e08e 100644
--- a/project-base/src/windows/platform.c
+++ b/project-base/src/windows/platform.c
@@ -930,7 +930,7 @@ platform_window* platform_open_window_ex(char *name, u16 width, u16 height, u16
window->window_class.lpfnWndProc = main_window_callback;
window->window_class.hInstance = instance;
window->window_class.lpszClassName = name;
- window->window_class.hIcon = LoadIcon(NULL, IDI_WINLOGO);
+ window->window_class.hIcon = LoadIcon(instance, MAKEINTRESOURCE(101));
//window->window_class.hCursor = LoadCursor(NULL, IDC_ARROW);
ATOM success = RegisterClass(&window->window_class);