![]() |
GrayDBufToggle | Function (Macro) |
gray.h |
void GrayDBufToggle (void); |
Toggles the currently visible double buffer.
GrayDBufToggle sets the currently visible buffer to the one which was previously hidden. Afterwards, the return values of GrayDBufGetActiveIdx and GrayDBufGetHiddenIdx will be the exact opposite as before. As the switch may happen during the time a plane is copied to the screen, it may be desirable to use GrayDBufToggleSync instead.