mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +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 {
|
func (c *context) isTexture(t textureNative) bool {
|
||||||
r := false
|
panic("opengl: isTexture is not implemented")
|
||||||
_ = c.t.Call(func() error {
|
|
||||||
r = gl.IsTexture(uint32(t))
|
|
||||||
return nil
|
|
||||||
})
|
|
||||||
return r
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *context) newFramebuffer(texture textureNative) (framebufferNative, error) {
|
func (c *context) newFramebuffer(texture textureNative) (framebufferNative, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user