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