When to Select and Realize OpenGL PalettesLast reviewed: May 24, 1996Article ID: Q151489 |
The information in this article applies to:
SUMMARYAn OpenGL application must select and realize its palette before setting the current rendering context with wglMakeCurrent.
MORE INFORMATIONAn OpenGL application typically makes its rendering context current one time only when the application is created, or repeatedly just prior to rendering, as in WM_PAINT for example. In the first case, the palette must be created, selected, and realized prior to the initial wglMakeCurrent. In the second case, the palette should be selected and realized before every call to wglMakeCurrent.
|
Additional reference words: 3.51 4.00 render colors hrc RGBA
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |