mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 01:20:17 +01:00
improved error message
This commit is contained in:
parent
7c0e32bbf0
commit
866023da66
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: texstate.c,v 1.88 2002/12/05 04:51:57 brianp Exp $ */
|
||||
/* $Id: texstate.c,v 1.89 2002/12/18 15:01:26 brianp Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
|
|
@ -1308,7 +1308,7 @@ _mesa_TexParameterfv( GLenum target, GLenum pname, const GLfloat *params )
|
|||
}
|
||||
else {
|
||||
_mesa_error(ctx, GL_INVALID_ENUM,
|
||||
"glTexParameter(bad GL_TEXTURE_COMPARE_MODE_ARB)");
|
||||
"glTexParameter(bad GL_TEXTURE_COMPARE_MODE_ARB: 0x%x)", mode);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue