Fixing core to work with win32 #1257
This commit is contained in:
parent
17450fde65
commit
13e53e7176
3 changed files with 8 additions and 3 deletions
|
|
@ -130,6 +130,7 @@ pub fn init(
|
|||
self.border = options.border;
|
||||
self.headless = options.headless;
|
||||
self.refresh_rate = 60; // TODO (win32) get monitor refresh rate
|
||||
self.vsync_mode = .triple;
|
||||
|
||||
_ = w.SetWindowLongPtrW(window, w.GWLP_USERDATA, @bitCast(@intFromPtr(self)));
|
||||
if (!options.headless) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue