Пример #1
0
func (texture *Texture) GL_UnbindTexture() error {
	_ret := C.SDL_GL_UnbindTexture(texture.cptr())
	if _ret < 0 {
		return GetError()
	}
	return nil
}
Пример #2
0
func (texture *Texture) GL_UnbindTexture() int {
	_texture := (*C.SDL_Texture)(unsafe.Pointer(texture))
	return (int)(C.SDL_GL_UnbindTexture(_texture))
}
Пример #3
0
func (t *Texture) Unbind() bool {
	return int(C.SDL_GL_UnbindTexture(t.cTexture)) == 0
}
Пример #4
0
func (texture *Texture) GL_UnbindTexture() int {
	return int(C.SDL_GL_UnbindTexture(texture.cptr()))
}