mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-12 05:00:28 +01:00
don't use __FUNCTION__ - not portable
This commit is contained in:
parent
370b47802e
commit
bc3a5336d9
1 changed files with 2 additions and 7 deletions
|
|
@ -228,17 +228,12 @@ static GLboolean print_attr_header( struct tnl_clipspace_codegen *p,
|
|||
|
||||
static GLboolean print_attr_footer( struct tnl_clipspace_codegen *p )
|
||||
{
|
||||
return
|
||||
emit(p, " }\n");
|
||||
return emit(p, " }\n");
|
||||
}
|
||||
|
||||
static tnl_emit_func print_store_func( struct tnl_clipspace_codegen *p )
|
||||
{
|
||||
#if defined( WIN32 ) || defined( __VMS )
|
||||
fprintf(stderr, "%s: emitted:\n%s\n", "print_store_func", p->buf);
|
||||
#else
|
||||
fprintf(stderr, "%s: emitted:\n%s\n", __FUNCTION__, p->buf);
|
||||
#endif
|
||||
fprintf(stderr, "print_store_func: emitted:\n%s\n", p->buf);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue