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