mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
Fix a comment
This commit is contained in:
parent
a2f67d69b8
commit
3200ae58a4
@ -112,7 +112,7 @@ func (c *Context) DeleteTexture(t Texture) {
|
|||||||
|
|
||||||
func (c *Context) GlslHighpSupported() bool {
|
func (c *Context) GlslHighpSupported() bool {
|
||||||
gl := c.gl
|
gl := c.gl
|
||||||
// node-gl library may not define getShaderPrecisionFormat.
|
// headless-gl library may not define getShaderPrecisionFormat.
|
||||||
if gl.Get("getShaderPrecisionFormat") == js.Undefined {
|
if gl.Get("getShaderPrecisionFormat") == js.Undefined {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user