|
||
BOOLEAN get_opengl_info ( SS_OPENGL_INFO *gl_info )
SS_OPENGL_INFO *gl_info; // A pointer to an SS_OPENGL_INFO structure
|
|
|||
Synopsis |
#include "silver.h"
The get_opengl_info function retrieves information about the current OpenGL environment.
|
|
||
Parameters |
gl_info is a pointer to an SS_OPENGL_INFO structure that will receive information about the current OpenGL environment.
|
|
||
Return Value |
get_opengl_info returns TRUE if the status of OpenGL could be determined, otherwise it returns FALSE.
|
|
||
Example |
The following code will get information about the current OpenGL environment and report the vendor name.
|
|