GsGetActiveBuff

Gets the drawing buffer index

int GsGetActiveBuff (
        void
)

Arguments

None.

Return Value

The double buffer index (0 for buffer 0; 1 for buffer 1) is returned.

Explanation

The double buffer index (PSDIDX) is obtained and its value is returned.
The value of the index is either 0 or 1.
By entering the index in the external variables PSDOFX[] and PSDOFY[], the two-dimensional address of the double buffer origin (upper left-hand coordinate) in the frame buffer can be obtained.

See Also

PSDIDX