---
name: "sage_init"
section: "3"
platform: "linux"
package: "libsage-dev"
version: "0.2.0-4.1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/sage_init"
---

# sage\_init(3)

initialize sage library

## NAME

sage\_init - initialize sage library

## SYNOPSIS

void **sage\_init** (void)

## DESCRIPTION

Initialise the Sage library. This function links up the function pointers to the extensions that are reported by glGetString(GL\_EXTENSIONS) and sets the sage\_ext array to 1 for existing extensions.

Note that some Open GL implementations report an extension in the GL\_EXTENSIONS string but do not have the function implemented.

## AUTHOR

Simon Goodall (simon (at) simongoodall.co.uk)

## SEE ALSO

[sage(3)](/sage/3.md)
