summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_cl_p.h
diff options
context:
space:
mode:
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)
{