ebiten/internal/graphicsdriver/opengl
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
..
gl internal/graphicsdriver/opengl, internal/uidriver/glfw: treat Win32 API errors correctly 2022-01-30 15:54:24 +09:00
gles internal/graphicsdriver/opengl/gles: add GLES_SILENCE_DEPRECATION to suppress warnings 2022-01-05 01:54:00 +09:00
bytes.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
context_desktop.go Revert "internal/graphicsdriver: bug fix: render semi-transparent vectors correctly" 2022-01-06 03:19:46 +09:00
context_js.go Revert "internal/graphicsdriver: bug fix: render semi-transparent vectors correctly" 2022-01-06 03:19:46 +09:00
context_mobile.go Revert "internal/graphicsdriver: bug fix: render semi-transparent vectors correctly" 2022-01-06 03:19:46 +09:00
context_notwebgl1.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
context_webgl1.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
context.go ebiten: Add EvenOdd to DrawTrianglesOptions and DrawShaderTrianglesOptions 2021-07-05 03:35:55 +09:00
defaultshader.go Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
framebuffer.go graphicsdriver/opengl: Rename Driver -> Graphics 2020-04-04 17:23:38 +09:00
gl_js.go internal/graphicsdriver: Bug fix: getting a WebGL2 context might fail even though WebGL2RenderingContext exists 2021-08-01 22:00:47 +09:00
graphics_mobile.go Add go:build comments with go1.17beta1 fmt 2021-06-11 01:11:46 +09:00
graphics.go internal/graphicsdriver/opengl: Optimization: Cache texture variable names 2021-10-31 05:40:44 +09:00
image.go internal/graphicsdriver/opengl: Remove unused code using PBO 2021-07-14 21:51:27 +09:00
locationcache.go 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
program.go internal/graphicsdriver/opengl: Optimization: Cache texture variable names 2021-10-31 05:40:44 +09:00
shader_desktop.go internal/graphicsdriver: Bug fix: getting a WebGL2 context might fail even though WebGL2RenderingContext exists 2021-08-01 22:00:47 +09:00
shader_js.go internal/graphicsdriver: Bug fix: getting a WebGL2 context might fail even though WebGL2RenderingContext exists 2021-08-01 22:00:47 +09:00
shader_mobile.go internal/graphicsdriver: Bug fix: getting a WebGL2 context might fail even though WebGL2RenderingContext exists 2021-08-01 22:00:47 +09:00
shader.go internal/graphicsdriver: Bug fix: getting a WebGL2 context might fail even though WebGL2RenderingContext exists 2021-08-01 22:00:47 +09:00