mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-13 19:42:29 +00:00
feat(gx): handle custom window proc in device creation
This commit is contained in:
parent
de0050d111
commit
9ccd1884f3
8 changed files with 13 additions and 11 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
CGxDevice* g_theGxDevicePtr = nullptr;
|
||||
|
||||
CGxDevice* GxDevCreate(EGxApi api, long (*windowProc)(void*, uint32_t, uint32_t, long), const CGxFormat& format) {
|
||||
CGxDevice* GxDevCreate(EGxApi api, int32_t (*windowProc)(void* window, uint32_t message, uint32_t wparam, int32_t lparam), const CGxFormat& format) {
|
||||
CGxDevice* device;
|
||||
|
||||
#if defined(WHOA_SYSTEM_WIN)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue