mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-15 12:22: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
|
|
@ -140,7 +140,7 @@ void CGxDeviceGLL::CapsWindowSizeInScreenCoords(CRect& dst) {
|
|||
}
|
||||
}
|
||||
|
||||
int32_t CGxDeviceGLL::DeviceCreate(int32_t (*windowProc)(void* window, uint32_t message, uint32_t wparam, int32_t lparam), const CGxFormat& format) {
|
||||
int32_t CGxDeviceGLL::DeviceCreate(int32_t (*windowProc)(void* window, uint32_t message, uintptr_t wparam, intptr_t lparam), const CGxFormat& format) {
|
||||
CGRect rect;
|
||||
Rect* bounds;
|
||||
Rect* zoomedBounds = GetSavedZoomedWindowBounds();
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ class CGxDeviceGLL : public CGxDevice {
|
|||
// Virtual member functions
|
||||
virtual void ITexMarkAsUpdated(CGxTex*);
|
||||
virtual void IRsSendToHw(EGxRenderState);
|
||||
virtual int32_t DeviceCreate(int32_t (*windowProc)(void* window, uint32_t message, uint32_t wparam, int32_t lparam), const CGxFormat&);
|
||||
virtual int32_t DeviceCreate(int32_t (*windowProc)(void* window, uint32_t message, uintptr_t wparam, intptr_t lparam), const CGxFormat&);
|
||||
virtual int32_t DeviceSetFormat(const CGxFormat&);
|
||||
virtual void DeviceWM(EGxWM wm, uintptr_t param1, uintptr_t param2) {};
|
||||
virtual void CapsWindowSize(CRect&);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue