mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 09:30:20 +01:00
mesa: pf_sprint_name->pf_name.
This commit is contained in:
parent
fdafa1f863
commit
1ffd6908d4
2 changed files with 2 additions and 10 deletions
|
|
@ -339,7 +339,6 @@ st_draw_vbo(GLcontext *ctx,
|
|||
#if 0
|
||||
{
|
||||
GLuint i;
|
||||
char buf[100];
|
||||
for (i = 0; i < vp->num_inputs; i++) {
|
||||
printf("buffers[%d].pitch = %u\n", i, vbuffer[i].pitch);
|
||||
printf("buffers[%d].max_index = %u\n", i, vbuffer[i].max_index);
|
||||
|
|
@ -350,7 +349,7 @@ st_draw_vbo(GLcontext *ctx,
|
|||
printf("vlements[%d].src_offset = %u\n", i, velements[i].src_offset);
|
||||
printf("vlements[%d].vbuffer_index = %u\n", i, velements[i].vertex_buffer_index);
|
||||
printf("vlements[%d].nr_comps = %u\n", i, velements[i].nr_components);
|
||||
printf("vlements[%d].format = %s\n", i, pf_sprint_name(buf, velements[i].src_format));
|
||||
printf("vlements[%d].format = %s\n", i, pf_name(velements[i].src_format));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -91,14 +91,7 @@ st_get_format_info(enum pipe_format format, struct pipe_format_info *pinfo)
|
|||
info = format;
|
||||
|
||||
#if 0
|
||||
{
|
||||
char fmtname[256];
|
||||
|
||||
pf_sprint_name( fmtname, format );
|
||||
printf(
|
||||
"%s\n",
|
||||
fmtname );
|
||||
}
|
||||
printf("%s\n", pf_name( format ) );
|
||||
#endif
|
||||
|
||||
/* Data type */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue