mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
graphicsdriver/opengl: Remove isTexture on desktops
This commit is contained in:
parent
2bdef2e8c4
commit
e25a6f4d46
@ -228,12 +228,7 @@ func (c *context) deleteTexture(t textureNative) {
|
||||
}
|
||||
|
||||
func (c *context) isTexture(t textureNative) bool {
|
||||
r := false
|
||||
_ = c.t.Call(func() error {
|
||||
r = gl.IsTexture(uint32(t))
|
||||
return nil
|
||||
})
|
||||
return r
|
||||
panic("opengl: isTexture is not implemented")
|
||||
}
|
||||
|
||||
func (c *context) newFramebuffer(texture textureNative) (framebufferNative, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user