mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-14 12:02:30 +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
|
|
@ -198,7 +198,7 @@ const CGxCaps& CGxDevice::Caps() const {
|
|||
return this->m_caps;
|
||||
}
|
||||
|
||||
int32_t CGxDevice::DeviceCreate(int32_t (*windowProc)(void* window, uint32_t message, uint32_t wparam, int32_t lparam), const CGxFormat& format) {
|
||||
int32_t CGxDevice::DeviceCreate(int32_t (*windowProc)(void* window, uint32_t message, uintptr_t wparam, intptr_t lparam), const CGxFormat& format) {
|
||||
this->m_windowProc = windowProc;
|
||||
|
||||
return this->DeviceSetFormat(format);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue