mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-13 19:42:29 +00:00
fix(event): use correct types for window proc params
This commit is contained in:
parent
32f9c81abf
commit
aafbada709
12 changed files with 14 additions and 13 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue