Exemplo 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))
}
Exemplo n.º 2
0
func (d *Display) GetRefreshRate() int32 {
	return int32(C.al_get_display_refresh_rate((*C.ALLEGRO_DISPLAY)(unsafe.Pointer(d))))
}
Exemplo n.º 3
0
func (d *Display) GetRefreshRate() int {
	return int(C.al_get_display_refresh_rate((*C.ALLEGRO_DISPLAY)(d)))
}