Function Open-Window-Hint

Part of:

package glfw
( open-window-hint < target > < hint > )
target
Can be any of the constants in the table 3.1.
hint
An integer giving the value of the corresponding target (see table 3.1).

Description
The function sets additional properties for a window that is to be opened. For a hint to be registered, the
function must be called before calling glfwOpenWindow. When the glfwOpenWindow function is
called, any hints that were registered with the glfwOpenWindowHint function are used for setting the
corresponding window properties, and then all hints are reset to their default values.

Notes
In order to determine the actual properties of an opened window, use glfwGetWindowParam (after the
window has been opened).
GLFW_STEREO is a hard constraint. If stereo rendering is requested, but no stereo rendering capable
pixel formats / visuals are available, glfwOpenWindow will fail.
The GLFW_REFRESH-RATE property should be used with caution. Most systems have default values
for monitor refresh rates that are optimal for the specific system. Specifying the refresh rate can
override these settings, which can result in suboptimal operation. The monitor may be unable to display
the resulting video signal, or in the worst case it may even be damaged!