Beispiel #1
0
/**
 *  This function returns true if the CPU has AltiVec features.
 */
func HasAltiVec() bool {
	return int(C.SDL_HasAltiVec()) != 0
}
Beispiel #2
0
// This function returns true if the CPU has AltiVec features
func HasAltiVec() bool {
	return i2b(int(C.SDL_HasAltiVec()))
}
Beispiel #3
0
func HasAltiVec() bool {
	return C.SDL_HasAltiVec() > 0
}
Beispiel #4
0
func HasAltiVec() bool {
	return C.SDL_HasAltiVec() == C.SDL_TRUE
}