From ae6c3d7d6c49903596b13b220ae8afffd37568e3 Mon Sep 17 00:00:00 2001 From: Brian McGroarty Date: Thu, 3 Sep 2009 02:57:14 +0000 Subject: build issue - const invariance in llplugintest/llmediaplugintest --- indra/test_apps/llplugintest/llmediaplugintest.cpp | 2 +- indra/test_apps/llplugintest/llmediaplugintest.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/test_apps/llplugintest/llmediaplugintest.cpp b/indra/test_apps/llplugintest/llmediaplugintest.cpp index f668867a02..7869763302 100644 --- a/indra/test_apps/llplugintest/llmediaplugintest.cpp +++ b/indra/test_apps/llplugintest/llmediaplugintest.cpp @@ -283,7 +283,7 @@ void LLMediaPluginTest::bindTexture(GLuint texture, GLint row_length, GLint alig //////////////////////////////////////////////////////////////////////////////// // -bool LLMediaPluginTest::checkGLError(char *name) +bool LLMediaPluginTest::checkGLError(const char *name) { bool result = false; GLenum error = glGetError(); diff --git a/indra/test_apps/llplugintest/llmediaplugintest.h b/indra/test_apps/llplugintest/llmediaplugintest.h index 2d0ba0e3f6..095a2ea3b3 100644 --- a/indra/test_apps/llplugintest/llmediaplugintest.h +++ b/indra/test_apps/llplugintest/llmediaplugintest.h @@ -87,7 +87,7 @@ class LLMediaPluginTest : public LLPluginClassMediaOwner void mouseMove( int x, int y ); void bindTexture(GLuint texture, GLint row_length = 0, GLint alignment = 1); - bool checkGLError(char *name = "OpenGL"); + bool checkGLError(const char *name = "OpenGL"); void drawGeometry( int panel ); void startPanelHighlight( float red, float green, float blue, float line_width ); void endPanelHighlight(); -- cgit v1.2.3