---
name: "get_display_switch_mode"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/get_display_switch_mode/3alleg4"
---

# get\_display\_switch\_mode(3alleg4)

Returns the current display switching mode. Allegro game programming library.

## NAME

get\_display\_switch\_mode - Returns the current display switching mode. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**int get\_display\_switch\_mode();**

## DESCRIPTION

Returns the current display switching mode, in the same format passed to  set\_display\_switch\_mode().

## SEE ALSO

**set\_display\_switch\_mode**(3alleg4), **exswitch**(3alleg4)
