mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-27 20:28:54 +01:00
84e53d4c61
The returned errors from syscall.Syscall* and windows.LazyProc.Call come from GetLastError. The value of GetLastError is not reliable when the function succeeds. This change fixes the usages of error values. The error value is now used only when the API explicitly fails. |
||
---|---|---|
.. | ||
gamepad_glfw.go | ||
gamepad_native.go | ||
graphics_darwin.go | ||
graphics_opengl.go | ||
hideconsole_notwindows.go | ||
hideconsole_windows.go | ||
input.go | ||
keys.go | ||
run_notsinglethread.go | ||
run_singlethread.go | ||
ui_darwin.go | ||
ui_unix.go | ||
ui_windows.go | ||
ui.go | ||
window.go |