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