# GX_Init

## Syntax

      #include <nitro/gx/gx.h>

      void GX_Init( void );

## Arguments

None.

## Return Values

None.

## Description

Initializes all graphics registers that are not 3D-related. This function calls `GX_SetPower(GX_POWER_ALL)`.
By default, GX functions use DMA 3.
To change the DMA number to use, set a different DMA number with `GX_InitEx` or `GX_SetDefaultDMA`.
Before calling this function, you must call the `OS_InitLock` or `OS_Init` function.

## See Also

`G3X_Init`
`G3X_Reset`
`G3X_InitTable`
`GX_InitEx`
`GX_InitNDMAEx`

## Revision History

2005/03/14 Corrected link errors.

2005/02/18 Added warning that `OS_Init` must be called in advance.

2004/02/09 Changed so that `GX_SetPower` is called.

2004/01/19 Initial version.

CONFIDENTIAL