ebiten: document that EBITENGINE_GRAPHICS_LIBRARY can be set before RunGame

This commit is contained in:
Hajime Hoshi 2022-07-30 17:40:48 +09:00
parent 87aa498bd2
commit a0546fc594

1
doc.go
View File

@ -67,6 +67,7 @@
//
// `EBITENGINE_GRAPHICS_LIBRARY` environment variable specifies the graphics library.
// If the specified graphics library is not available, RunGame returns an error.
// This environment variable can also be set programmatically through os.Setenv before RunGame is called.
// This can take one of the following value:
//
// "auto": Ebitengine chooses the graphics library automatically. This is the default value.