summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_cl_p.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-04-07 12:32:04 +1000
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-04-07 12:33:23 +1000
commitcab39df3deb99aba7aa71a397055a2ec742921f4 (patch)
treed2545580a617e6e8aa68de243c217af50b261122 /src/opengl/qgl_cl_p.h
parent5a0b19a4559fa83e77cc6c6cd05fc492e692b667 (diff)
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 e514ff524e..c05a7d797e 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)
{