# GX_Init

## Syntax

      #include <nitro/gx/gx.h>
      void GX_Init( void );

## Arguments

None.

## Return Values

None.

## Description

This function initializes all graphics registers that are not 3D-related. It calls `GX_SetPower(GX_POWER_ALL)` internally.
The GX function uses DMA 3 by default.
Call the `GX_InitEx` or `GX_SetDefaultDMA` function to change the DMA number.
Before calling this function, `OS_InitLock( )` or `OS_Init( )` must be called.

## See Also

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

## 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 internally.

2004/01/19

CONFIDENTIAL