示例#1
0
func (renderer *Renderer) RenderTargetSupported() bool {
	_renderer := (*C.SDL_Renderer)(unsafe.Pointer(renderer))
	return C.SDL_RenderTargetSupported(_renderer) != 0
}
示例#2
0
文件: render.go 项目: emlai/go-sdl2
// Renderer (https://wiki.libsdl.org/SDL_RenderTargetSupported)
func (renderer *Renderer) RenderTargetSupported() bool {
	return C.SDL_RenderTargetSupported(renderer.cptr()) != 0
}
示例#3
0
文件: render.go 项目: willemvds/sdl
func (r *Renderer) RenderTargetSupported() bool {
	return C.SDL_RenderTargetSupported(r.c) == C.SDL_TRUE
}