func (f *Framebuffer) Dispose(c *opengl.Context) { // Don't delete the default framebuffer. if f.native == opengl.ZeroFramebuffer { return } c.DeleteFramebuffer(f.native) }