From 4369a9a6f237446bdadfc775c652df92de76a405 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 11 Apr 2012 11:35:34 +0200 Subject: [PATCH] Updated header name. --- readme.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.html b/readme.html index 5ac580d7..a4ee2c5d 100644 --- a/readme.html +++ b/readme.html @@ -74,9 +74,9 @@ in the following sections.

4.1 Include the GLFW header file

In the files of your program where you use OpenGL or GLFW, you should -include the GL/glfw.h header file, i.e.:

+include the GL/glfw3.h header file, i.e.:

-
#include <GL/glfw.h>
+
#include <GL/glfw3.h>

This defines all the constants, types and function prototypes of the GLFW API. It also includes the gl.h and GL/glu.h header @@ -100,7 +100,7 @@ it. This way, the namespace won't be cluttered by the entire Windows API.

  • Do not include windows.h unless you actually need direct access to the Windows API
  • If you do need to include windows.h, do it - before including GL/glfw.h and the GLFW header will + before including GL/glfw3.h and the GLFW header will detect this.