Esempio n. 1
0
// Gets the refresh rate of the display
func (self *Display) RefreshRate() int {
	return int(C.al_get_display_refresh_rate(self.handle))
}
Esempio n. 2
0
func (d *Display) GetRefreshRate() int32 {
	return int32(C.al_get_display_refresh_rate((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(d))))
}
Esempio n. 3
0
func (d *Display) GetRefreshRate() int {
	return int(C.al_get_display_refresh_rate((*C.ALLEGRO_DISPLAY)(d)))
}