Fix typos

This commit is contained in:
2020-06-23 18:36:33 -06:00
parent 97a49587bf
commit dbf353e2bd

View File

@@ -1,16 +1,17 @@
# Magnum + Qt Quick bootstrap
This app demonstrates usage if Magnum rendering engine within a Qt Quick application.
This app demonstrates Magnum rendering engine within a Qt Quick application, using
a shared framebuffer object..
## Common pitfalls
### Header inclusion order
Follow a simple rules: Always include Magnum's headers first. If you're including
your own headers, make sure that this rules is preserved. It's very easy to violate it.
Follow one simple rule: Always include Magnum's headers first. If you're including
your own headers, make sure that this rules is obeyed. It's very easy to violate it.
Common symptom is compiler errors about missing declarations for `glFinish`, `glFlush`
and `glGetError`, which some Qt headers (`QOpenGLFunctions`) are unbdefining.
and `glGetError`, which some Qt headers (`QOpenGLFunctions`) are undefining.
For a bomb-proof solution, make a header file that includes all of your Magnum and Qt
dependencies in correct order.