Пример #1
0
// 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)))
}