diff --git a/allegro5/display.go b/allegro5/display.go index 8c92f21..0f8b1ec 100644 --- a/allegro5/display.go +++ b/allegro5/display.go @@ -74,6 +74,10 @@ func (d *Display) SetAsTarget() { C.al_set_target_backbuffer(d.display) } +func (d *Display) SetIcon(i *Bitmap) { + C.al_set_display_icon(d.display, i.bitmap) +} + func (d *Display) SetMousePosition(x, y int) { C.al_set_mouse_xy(d.display, C.int(x), C.int(y)) }