mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
internal/graphicsdriver/opengl: bug fix: go-vet failed
This commit is contained in:
parent
4ef7b5c166
commit
037a818601
@ -38,7 +38,9 @@ func NewGraphics() (graphicsdriver.Graphics, error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
setGLFWClientAPI(ctx.IsES())
|
if err := setGLFWClientAPI(ctx.IsES()); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
return newGraphics(ctx), nil
|
return newGraphics(ctx), nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user