예제 #1
0
파일: cpuinfo.go 프로젝트: krig/Go-SDL2
/**
 *  This function returns true if the CPU has SSE2 features.
 */
func HasSSE2() bool {
	return int(C.SDL_HasSSE2()) != 0
}
예제 #2
0
파일: sdl.go 프로젝트: beoran/fungo
// This function returns true if the CPU has SSE2 features
func HasSSE2() bool {
	return i2b(int(C.SDL_HasSSE2()))
}
예제 #3
0
func HasSSE2() bool {
	return C.SDL_HasSSE2() > 0
}
예제 #4
0
파일: cpuinfo.go 프로젝트: willemvds/sdl
func HasSSE2() bool {
	return C.SDL_HasSSE2() == C.SDL_TRUE
}