mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-14 10:10:52 +03:00
fix(event): use correct types for window proc params
This commit is contained in:
1 parent
32f9c81abf
commit
aafbada709
12 files changed
+14
-13
No files matched your search
@@ -3,6 +3,6 @@
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
int32_t OsWindowProc(void* window, uint32_t message, uint32_t wparam, int32_t lparam);
|
||||
int32_t OsWindowProc(void* window, uint32_t message, uintptr_t wparam, intptr_t lparam);
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "event/Window.hpp"
|
||||
|
||||
int32_t OsWindowProc(void* window, uint32_t message, uint32_t wparam, int32_t lparam) {
|
||||
int32_t OsWindowProc(void* window, uint32_t message, uintptr_t wparam, intptr_t lparam) {
|
||||
return 0;
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "event/Window.hpp"
|
||||
|
||||
int32_t OsWindowProc(void* window, uint32_t message, uint32_t wparam, int32_t lparam) {
|
||||
int32_t OsWindowProc(void* window, uint32_t message, uintptr_t wparam, intptr_t lparam) {
|
||||
return 0;
|
||||
}
|
||||
@@ -1,7 +1,8 @@
|
||||
#include "event/Window.hpp"
|
||||
#include "event/Input.hpp"
|
||||
#include <windows.h>
|
||||
|
||||
int32_t OsWindowProc(void* window, uint32_t message, uint32_t wparam, int32_t lparam) {
|
||||
int32_t OsWindowProc(void* window, uint32_t message, uintptr_t wparam, intptr_t lparam) {
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user