diff --git a/internal/graphicsdriver/opengl/context_mobile.go b/internal/graphicsdriver/opengl/context_mobile.go index cafae08e7..41752f05a 100644 --- a/internal/graphicsdriver/opengl/context_mobile.go +++ b/internal/graphicsdriver/opengl/context_mobile.go @@ -191,7 +191,7 @@ func (c *context) newFramebuffer(texture textureNative) (framebufferNative, erro gl := c.gl f := gl.CreateFramebuffer() if f.Value <= 0 { - return framebufferNative{}, errors.New("opengl: creating framebuffer failed: the returned value is negative") + return framebufferNative{}, fmt.Errorf("opengl: creating framebuffer failed: the returned value is not positive but %d", f.Value) } c.bindFramebuffer(framebufferNative(f))