ebiten/internal/graphicsdriver/opengl/gl
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
..
conversions_notwindows.go internal/graphicsdriver/opengl: Refactring 2021-06-13 14:19:33 +09:00
conversions_windows.go internal/graphicsdriver/opengl: Refactring 2021-06-13 14:19:33 +09:00
conversions.go internal/graphicsdriver/opengl: Refactring 2021-06-13 14:19:33 +09:00
LICENSE graphicsdriver/opengl: Use non-cgo gl package on Windows (#171) 2018-12-09 03:06:11 +09:00
package_notwindows.go add a build tag 'ebitencbackend' and internal/cbackend 2021-12-22 21:12:48 +09:00
package_windows.go internal/glfw, internal/graphicsdriver/opengl/gl: Use the last byte to detect a bool 2021-08-25 02:09:55 +09:00
package.go internal/graphicsdriver/opengl: Add APIs for stencil buffers 2021-07-05 00:24:44 +09:00
procaddr_notwindows.go add a build tag 'ebitencbackend' and internal/cbackend 2021-12-22 21:12:48 +09:00
procaddr_windows.go internal/graphicsdriver/opengl, internal/uidriver/glfw: treat Win32 API errors correctly 2022-01-30 15:54:24 +09:00
README.md graphicsdriver/opengl/gl: Exclude all the files for Wasm 2019-09-23 00:42:54 +09:00

This is a fork of github.com/go-gl/gl/v2.1/gl with the below patch. This is now modified manually.

The original version is generated from github.com/hajimehoshi/glow's nocgo branch. This enables to remove dependencies on Cgo on Windows.

Now we are working on commiting this 'no-cgo' change to the official gl package. See https://github.com/go-gl/glow/pull/102.