internal/graphicsdriver/opengl: bug fix: go-vet failed

This commit is contained in:
Hajime Hoshi 2023-12-20 03:06:58 +09:00
parent 4ef7b5c166
commit 037a818601

View File

@ -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
} }