Exemple #1
0
func IsPNG(src *sdl.RWops) bool {
	_src := (*C.SDL_RWops)(unsafe.Pointer(src))
	return int(C.IMG_isPNG(_src)) > 0
}
Exemple #2
0
func IsPNG(rw *sdl.RWops) bool {
	return C.IMG_isPNG(cRWops(rw)) != 0
}