diff options
author | Carl Worth <cworth@cworth.org> | 2013-12-09 11:18:09 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-09 22:22:33 -0800 |
commit | eb5f6ac74ea37e44a9139ded8954ef423ad9c56c (patch) | |
tree | 67552f4f0860ceea2524bf0849d6ff87aae58d51 | |
parent | bfd687da8924b0866fd85695e1de1eb710460bdd (diff) | |
download | libepoxy-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
-rw-r--r-- | README.md | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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: |