示例#1
0
文件: display.go 项目: beoran/algo
// Gets the refresh rate of the display
func (self *Display) RefreshRate() int {
	return int(C.al_get_display_refresh_rate(self.handle))
}
示例#2
0
func (d *Display) GetRefreshRate() int32 {
	return int32(C.al_get_display_refresh_rate((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(d))))
}
示例#3
0
func (d *Display) GetRefreshRate() int {
	return int(C.al_get_display_refresh_rate((*C.ALLEGRO_DISPLAY)(d)))
}