mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
internal/glfwwin: refactoring
This commit is contained in:
parent
666d50e83d
commit
7d95dddb1a
@ -1600,7 +1600,7 @@ func _SetProcessDPIAware() bool {
|
||||
func _SetProcessDpiAwareness(value _PROCESS_DPI_AWARENESS) error {
|
||||
r, _, _ := procSetProcessDpiAwareness.Call(uintptr(value))
|
||||
if uint32(r) != uint32(windows.S_OK) {
|
||||
return fmt.Errorf("glfwwin: SetProcessDpiAwareness failed: %w", syscall.Errno(uint32(r)))
|
||||
return fmt.Errorf("glfwwin: SetProcessDpiAwareness failed: %w", windows.Errno(uint32(r)))
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user