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