| Home
| Previous
| Next
| Up

MGL_setPaletteSnowLevel

Sets the current palette snow level for a display device context.

Declaration

void MGLAPI MGL_setPaletteSnowLevel(
MGLDC *dc,
int level)

Prototype In

mgraph.h

Parameters

dc | Display device context to set snow level for
level | New snow level to set

Description

This function sets the number of palette entries that can be programmed during a single vertical retrace before the onset of snow. By default MGL programs all 256 entries per retrace, but you may need to slow this down on systems with slower hardware that causes snow during multiple palette realization commands.

See Also

MGL_getPaletteSnowLevel, MGL_setPalette

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com