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