---
name: "get_display_switch_mode"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/get_display_switch_mode"
---

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

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**(3alleg)](/set_display_switch_mode/3alleg.md), [**exswitch**(3alleg)](/exswitch/3alleg.md)
