---
name: "al_restore_state"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_restore_state"
---

# al\_restore\_state(3)

Allegro 5 API

## NAME

al\_restore\_state - Allegro 5 API

## SYNOPSIS

-

  ```
  void al_restore_state(ALLEGRO_STATE const *state)
  ```

## DESCRIPTION

Restores part of the state of the current thread from the given [ALLEGRO\_STATE(3)](/ALLEGRO_STATE/3.md) object.

## SEE ALSO

[al\_store\_state(3)](/al_store_state/3.md), [ALLEGRO\_STATE\_FLAGS(3)](/ALLEGRO_STATE_FLAGS/3.md)
