app/internal/srgb: rename NewSRGBFBO to New and SRGBFBO to FBO

The srgb package was recently created to contain just the sRGB
emulation, but the names weren't shortened accordingly.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-02-15 19:45:59 +01:00
parent b34216c124
commit 05485a79a6
4 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ type Context struct {
width, height int
refreshFBO bool
// For sRGB emulation.
srgbFBO *srgb.SRGBFBO
srgbFBO *srgb.FBO
}
type eglContext struct {
@@ -167,7 +167,7 @@ func (c *Context) MakeCurrent() error {
}
if c.srgbFBO == nil {
var err error
c.srgbFBO, err = srgb.NewSRGBFBO(c.c)
c.srgbFBO, err = srgb.New(c.c)
if err != nil {
return err
}