Пример #1
0
func (renderer *Renderer) RenderTargetSupported() bool {
	_renderer := (*C.SDL_Renderer)(unsafe.Pointer(renderer))
	return C.SDL_RenderTargetSupported(_renderer) != 0
}
Пример #2
0
// Renderer (https://wiki.libsdl.org/SDL_RenderTargetSupported)
func (renderer *Renderer) RenderTargetSupported() bool {
	return C.SDL_RenderTargetSupported(renderer.cptr()) != 0
}
Пример #3
0
func (r *Renderer) RenderTargetSupported() bool {
	return C.SDL_RenderTargetSupported(r.c) == C.SDL_TRUE
}