示例#1
0
文件: cpuinfo.go 项目: krig/Go-SDL2
/**
 *  This function returns true if the CPU has 3DNow! features.
 */
func Has3DNow() bool {
	return int(C.SDL_Has3DNow()) != 0
}
示例#2
0
文件: sdl.go 项目: beoran/fungo
// This function returns true if the CPU has 3DNow features
func Has3DNow() bool {
	return i2b(int(C.SDL_Has3DNow()))
}
示例#3
0
func Has3DNow() bool {
	return C.SDL_Has3DNow() > 0
}
示例#4
0
文件: cpuinfo.go 项目: willemvds/sdl
func Has3DNow() bool {
	return C.SDL_Has3DNow() == C.SDL_TRUE
}