mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-18 20:02:15 +03:00
feat(event): pass custom window proc in gx device creation
This commit is contained in:
1 parent
9ccd1884f3
commit
32f9c81abf
6 files changed
+41
-1
No files matched your search
@@ -1,4 +1,5 @@
|
||||
#include "client/Console.hpp"
|
||||
#include "event/Window.hpp"
|
||||
#include "gx/Device.hpp"
|
||||
#include "util/CVar.hpp"
|
||||
#include <cstring>
|
||||
@@ -200,7 +201,7 @@ void ConsoleDeviceInitialize(const char* title) {
|
||||
api = GxApi_GLL;
|
||||
#endif
|
||||
|
||||
CGxDevice* device = GxDevCreate(api, nullptr, format);
|
||||
CGxDevice* device = GxDevCreate(api, OsWindowProc, format);
|
||||
|
||||
// TODO
|
||||
}
|
||||
Reference in new issue
Block a user