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