summaryrefslogtreecommitdiffstats
path: root/demos/boxes/glbuffers.h
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-08-09 12:48:12 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-08-10 09:32:46 (GMT)
commitac6323c4346be5fb5b1111194b2ee98706a69ffa (patch)
treee76ede8c1caa5599de91f6717eac4f4076bfbb6b /demos/boxes/glbuffers.h
parente7eed096a0c33607a7a37baaf06e5952dc9d556b (diff)
downloadQt-ac6323c4346be5fb5b1111194b2ee98706a69ffa.zip
Qt-ac6323c4346be5fb5b1111194b2ee98706a69ffa.tar.gz
Qt-ac6323c4346be5fb5b1111194b2ee98706a69ffa.tar.bz2
Replace gluPerspective with qgluPerspective.
GLU dependency was removed in commit: c67b4cac2e53ae77c4e16487838c17be85e73aa3, so we have to implement the function ourselves. Reviewed-by: kim
Diffstat (limited to 'demos/boxes/glbuffers.h')
-rw-r--r--demos/boxes/glbuffers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/boxes/glbuffers.h b/demos/boxes/glbuffers.h
index 67a4ea6..8c1e209 100644
--- a/demos/boxes/glbuffers.h
+++ b/demos/boxes/glbuffers.h
@@ -58,6 +58,8 @@ if (m_failed || !(assertion)) {
returnStatement; \
}
+void qgluPerspective(GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar);
+
QT_BEGIN_NAMESPACE
class QMatrix4x4;
QT_END_NAMESPACE