summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2013-12-09 11:18:09 -0800
committerEric Anholt <eric@anholt.net>2013-12-09 22:22:33 -0800
commiteb5f6ac74ea37e44a9139ded8954ef423ad9c56c (patch)
tree67552f4f0860ceea2524bf0849d6ff87aae58d51 /README.md
parentbfd687da8924b0866fd85695e1de1eb710460bdd (diff)
downloadlibepoxy-eb5f6ac74ea37e44a9139ded8954ef423ad9c56c.tar.gz
Fix "include" examples to use Github-flavored code block
Previously, these lines were using '>' which is the Markdown syntax for a "blockquote", but within this, the '#' in "#include" was still interpreted as a header, (which was not desired), and throwing away the rest of the line. It seems that a "codeblock" is what is wanted here instead, (which should result in un-interpreted text wrapped in <pre>). Markdown expects 4-space indent for this. See: https://help.github.com/articles/github-flavored-markdown
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/README.md b/README.md
index c5f36b2..bf18fe9 100644
--- a/README.md
+++ b/README.md
@@ -30,20 +30,22 @@ as well as we think it could be done.
Additionally, the proliferation of OpenGL ABIs (desktop GL, GLESv1,
GLESv2) and window systems (GLX, AGL, WGL, all versus EGL) means that
+an individual developer needs to know more and more about how to load
+their classes symbols.
Switching your code to using epoxy
----------------------------------
It should be as easy as replacing:
-> #include <GL/gl.h>
-> #include <GL/glx.h>
-> #include <GL/glext.h>
+ #include <GL/gl.h>
+ #include <GL/glx.h>
+ #include <GL/glext.h>
with:
-> #include <epoxy/gl.h>
-> #include <epoxy/glx.h>
+ #include <epoxy/gl.h>
+ #include <epoxy/glx.h>
Additionally, some new helpers become available, so you don't have to
write them: