summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_cl_p.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-04-07 02:32:04 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-04-07 02:33:23 (GMT)
commitcab39df3deb99aba7aa71a397055a2ec742921f4 (patch)
treed2545580a617e6e8aa68de243c217af50b261122 /src/opengl/qgl_cl_p.h
parent5a0b19a4559fa83e77cc6c6cd05fc492e692b667 (diff)
downloadQt-cab39df3deb99aba7aa71a397055a2ec742921f4.zip
Qt-cab39df3deb99aba7aa71a397055a2ec742921f4.tar.gz
Qt-cab39df3deb99aba7aa71a397055a2ec742921f4.tar.bz2
Make OpenGL/ES 1.1 CommonLite and OpenGL/ES 1.0 builds work
Reviewed-by: trustme
Diffstat (limited to 'src/opengl/qgl_cl_p.h')
-rw-r--r--src/opengl/qgl_cl_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qgl_cl_p.h b/src/opengl/qgl_cl_p.h
index e514ff5..c05a7d7 100644
--- a/src/opengl/qgl_cl_p.h
+++ b/src/opengl/qgl_cl_p.h
@@ -57,7 +57,7 @@ QT_BEGIN_NAMESPACE
inline void glTexParameterf (GLenum target, GLenum pname, GLfloat param)
{
- glTexParameterx(target, pname, param);
+ glTexParameterx(target, pname, FLOAT2X(param));
}
inline void glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
{