From 21faa7b84fb4effa893ca0a8d67fb515df42c243 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 11 Apr 2012 11:33:42 +0200 Subject: [PATCH] Formatting. --- readme.html | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/readme.html b/readme.html index 3e0966c0..5ac580d7 100644 --- a/readme.html +++ b/readme.html @@ -20,7 +20,8 @@
  • Acknowledgements
  • - + +

    1. Introduction

    Welcome to version 3.0 of the GLFW library. GLFW is a free, open source, @@ -34,19 +35,22 @@ settle.

    Note that the threading and image loading APIs from the 2.x series have been removed.

    - + +

    2. Compiling GLFW and the example programs

    To compile GLFW and the accompanying example programs, you will need the CMake build system.

    - + +

    3. Installing GLFW

    A rudimentary installation target is provided for all supported platforms via the CMake build system.

    - + +

    4. Using GLFW

    There are two aspects to using GLFW:

    @@ -66,6 +70,7 @@ GLFW API.

    A few rules for successfully designing GLFW-based programs are presented 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 @@ -106,9 +111,9 @@ disable any gl.h that the GLFW header includes and GLEW will work as expected.

    -

    4.2 Link with the right libraries

    +

    4.2.1 Windows static library

    If you link with the static version of GLFW, it is also necessary to @@ -219,7 +224,6 @@ by compile.sh at compile time.

    -lGLU to your link flags.

    -

    4.2.5 Mac OS X static library

    When compiling and linking a program under Mac OS X that uses GLFW, you @@ -256,9 +260,11 @@ that even though your machine may have Unix-style OpenGL libraries, they are for use with the X Window System, and will not work with the Mac OS X native version of GLFW.

    - + +

    5. Version history

    +

    v3.0

    - +

    6. Directory structure of the GLFW distribution

    Here is an overview of the directory structure of the GLFW distribution: @@ -791,7 +797,7 @@ version of GLFW.

    - +

    7. Contacting the project

    The official website for GLFW is glfw.org. @@ -815,7 +821,7 @@ GLFW or porting it to your favorite platform, we have a or you could join us on #glfw. - +

    8. Acknowledgements

    GLFW exists because people around the world donated their time and lent