ebiten/internal
Hajime Hoshi 84e53d4c61 internal/graphicsdriver/opengl, internal/uidriver/glfw: treat Win32 API errors correctly
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.
2022-01-30 15:54:24 +09:00
..
affine Remove dot imports from tests - Remove dot imports (#1837) 2021-10-02 19:58:48 +09:00
atlas internal/atlas: typo 2022-01-19 23:44:59 +09:00
buffered internal/buffered, interal/mipmap: typo 2022-01-08 23:32:58 +09:00
cbackend internal/cbackend: add EbitenVibrateGamepad 2022-01-26 03:32:52 +09:00
clock internal/clock: Rename UncappedTPS -> SyncWithFPS 2021-07-22 22:46:24 +09:00
debug graphicscommand: Dump internal image info on the debug mode 2021-08-05 01:16:42 +09:00
devicescale internal/uidriver/glfw: Clear the device scale cache when monitors are changed 2021-09-15 13:04:38 +09:00
driver ebiten: rename VibrateOptions.Intensity -> Magnitude 2022-01-10 16:02:26 +09:00
gamepad internal/gamepad: add comments and make Vibrate concurrent-safe 2022-01-29 03:50:43 +09:00
gamepaddb ebiten: use the DB's name for GamepadName 2022-01-25 21:14:03 +09:00
glfw internal/glfw/glfw: update for GLFW 3.3.6 2021-12-27 01:57:55 +09:00
graphics internal/atlas, initernal/graphics: Better buffer size calculation 2021-10-31 17:20:39 +09:00
graphicscommand ebiten: add RunOnMainThread(func()) (#1927) 2022-01-03 03:30:29 +09:00
graphicsdriver internal/graphicsdriver/opengl, internal/uidriver/glfw: treat Win32 API errors correctly 2022-01-30 15:54:24 +09:00
hooks internal/hooks: Enable to return error at suspend/resume audio 2021-05-04 23:09:01 +09:00
jsutil internal/jsutil: Optimization: Avoid using empty interface{} conversions 2021-10-30 18:53:21 +09:00
mipmap internal/buffered, interal/mipmap: typo 2022-01-08 23:32:58 +09:00
packing Remove dot imports from tests - Remove dot imports (#1837) 2021-10-02 19:58:48 +09:00
png internal/png: Regenerate 2021-08-28 03:14:54 +09:00
processtest internal/graphicsdriver/opengl: Bug fix: A location cache map must be reset when a program is deleted 2021-08-15 04:54:20 +09:00
restorable internal/driver: Optimization: Replace interface{} with driver.Uniform 2021-10-30 02:58:28 +09:00
shader internal/shader: ban the operator div on a matrix 2022-01-21 03:37:34 +09:00
shaderir internal/shaderir: bug fix: test failures 2022-01-12 01:57:06 +09:00
testing Remove flock from the tests 2021-08-22 18:34:35 +09:00
thread internal/thread: bug fix: do not close 'terminate' channel 2022-01-05 17:21:53 +09:00
uidriver internal/graphicsdriver/opengl, internal/uidriver/glfw: treat Win32 API errors correctly 2022-01-30 15:54:24 +09:00