Changeset 33378 in project


Ignore:
Timestamp:
06/06/16 17:55:53 (3 years ago)
Author:
wasamasa
Message:

Add a space

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/glfw3

    r32349 r33378  
    4343Create a window with title string {{NAME}} and dimensions {{WIDTH}} by {{HEIGHT}}. The keys correspond to the available [[http://www.glfw.org/docs/latest/window.html#window_hints|GLFW window hints]]. {{resizable}}, {{visible}}, {{decorated}}, {{sterio}}, {{srgb-capable}}, {{opengl-forward-compat}}, {{opengl-debug-context}} accept boolean arguments, while all other accept either an integer or an appropriate GLFW constant as per the documentation.
    4444
    45 Sets the current context to the window that was created. The swap interval of the window is set to the value of the{{swap-interval}} key. Finally, this initializes all of the window-specific callbacks.
     45Sets the current context to the window that was created. The swap interval of the window is set to the value of the {{swap-interval}} key. Finally, this initializes all of the window-specific callbacks.
    4646
    4747When using with OS X, make sure you ask for the right context. Only OS X 10.7+ support core contexts, and only limited contexts are supported. See [[http://www.glfw.org/faq.html#how-do-i-create-an-opengl-30-context|the GLFW FAQ]]. For instance:
Note: See TracChangeset for help on using the changeset viewer.