summaryrefslogtreecommitdiff
path: root/indra/test_apps/llplugintest
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2010-03-05 16:29:37 -0500
committerNat Goodspeed <nat@lindenlab.com>2010-03-05 16:29:37 -0500
commit65ecde210e24a691190444e88090c0cd3c2d9559 (patch)
tree90b3b822ad56f9ecebdb9c89670339caec6d1a3c /indra/test_apps/llplugintest
parent32aa06139e6fb5f2e84d3e657dfbe8961170a804 (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/llplugintest')
-rw-r--r--indra/test_apps/llplugintest/llmediaplugintest.cpp2
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);