mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 20:11:58 +00:00
Updated header name.
This commit is contained in:
parent
21faa7b84f
commit
4369a9a6f2
@ -74,9 +74,9 @@ in the following sections.</p>
|
|||||||
<h3>4.1 Include the GLFW header file</h3>
|
<h3>4.1 Include the GLFW header file</h3>
|
||||||
|
|
||||||
<p>In the files of your program where you use OpenGL or GLFW, you should
|
<p>In the files of your program where you use OpenGL or GLFW, you should
|
||||||
include the <code>GL/glfw.h</code> header file, i.e.:</p>
|
include the <code>GL/glfw3.h</code> header file, i.e.:</p>
|
||||||
|
|
||||||
<blockquote><code>#include <GL/glfw.h></code></blockquote>
|
<blockquote><code>#include <GL/glfw3.h></code></blockquote>
|
||||||
|
|
||||||
<p>This defines all the constants, types and function prototypes of the GLFW
|
<p>This defines all the constants, types and function prototypes of the GLFW
|
||||||
API. It also includes the <code>gl.h</code> and </code>GL/glu.h</code> header
|
API. It also includes the <code>gl.h</code> and </code>GL/glu.h</code> header
|
||||||
@ -100,7 +100,7 @@ it. This way, the namespace won't be cluttered by the entire Windows API.</p>
|
|||||||
<li>Do <em>not</em> include <code>windows.h</code> unless you actually need
|
<li>Do <em>not</em> include <code>windows.h</code> unless you actually need
|
||||||
direct access to the Windows API</li>
|
direct access to the Windows API</li>
|
||||||
<li>If you <em>do</em> need to include <code>windows.h</code>, do it
|
<li>If you <em>do</em> need to include <code>windows.h</code>, do it
|
||||||
<em>before</em> including <code>GL/glfw.h</code> and the GLFW header will
|
<em>before</em> including <code>GL/glfw3.h</code> and the GLFW header will
|
||||||
detect this.</p>
|
detect this.</p>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user