diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2010-03-05 16:29:37 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2010-03-05 16:29:37 -0500 |
commit | 65ecde210e24a691190444e88090c0cd3c2d9559 (patch) | |
tree | 90b3b822ad56f9ecebdb9c89670339caec6d1a3c /indra/test_apps | |
parent | 32aa06139e6fb5f2e84d3e657dfbe8961170a804 (diff) |
Fix Mac llmediaplugintest build breakage.
A viewport array passed to glGetIntegerv() and gluUnProject() was declared as
'int'. This compiles on Windows, but fails on Mac. Declaring as 'GLint' works.
Diffstat (limited to 'indra/test_apps')
-rw-r--r-- | indra/test_apps/llplugintest/llmediaplugintest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/test_apps/llplugintest/llmediaplugintest.cpp b/indra/test_apps/llplugintest/llmediaplugintest.cpp index 6b275bbcad..e5a846f15a 100644 --- a/indra/test_apps/llplugintest/llmediaplugintest.cpp +++ b/indra/test_apps/llplugintest/llmediaplugintest.cpp @@ -307,7 +307,7 @@ GLfloat LLMediaPluginTest::distanceToCamera( GLfloat point_x, GLfloat point_y, G GLdouble modelMatrix[16]; GLdouble projMatrix[16]; - int viewport[4]; + GLint viewport[4]; glGetDoublev(GL_MODELVIEW_MATRIX, modelMatrix); glGetDoublev(GL_PROJECTION_MATRIX, projMatrix); |