mesa: _mesa_program_state_string() returns char *, not const char *.

This commit is contained in:
Michal Krol
2008-09-05 12:25:50 +02:00
parent b8a7eef242
commit ce3cf63251
4 changed files with 6 additions and 6 deletions

View File

@@ -767,7 +767,7 @@ append_index(char *dst, GLint index)
* For example, return "state.matrix.texture[2].inverse".
* Use _mesa_free() to deallocate the string.
*/
const char *
char *
_mesa_program_state_string(const gl_state_index state[STATE_LENGTH])
{
char str[1000] = "";