示例#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
}