Example #1
0
/**
 *  This function returns true if the CPU has AltiVec features.
 */
func HasAltiVec() bool {
	return int(C.SDL_HasAltiVec()) != 0
}
Example #2
0
File: sdl.go Project: beoran/fungo
// This function returns true if the CPU has AltiVec features
func HasAltiVec() bool {
	return i2b(int(C.SDL_HasAltiVec()))
}
Example #3
0
func HasAltiVec() bool {
	return C.SDL_HasAltiVec() > 0
}
Example #4
0
func HasAltiVec() bool {
	return C.SDL_HasAltiVec() == C.SDL_TRUE
}