mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-22 06:20:22 +01:00
r300g: do not print get_param errors in non-debug build
This commit is contained in:
parent
dd2499b484
commit
1d96ad67bc
1 changed files with 4 additions and 4 deletions
|
|
@ -154,8 +154,8 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
|
|||
case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER:
|
||||
return 0;
|
||||
default:
|
||||
fprintf(stderr, "r300: Implementation error: Bad param %d\n",
|
||||
param);
|
||||
debug_printf("r300: Warning: Unknown CAP %d in get_param.\n",
|
||||
param);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
@ -265,8 +265,8 @@ static float r300_get_paramf(struct pipe_screen* pscreen, enum pipe_cap param)
|
|||
case PIPE_CAP_MAX_TEXTURE_LOD_BIAS:
|
||||
return 16.0f;
|
||||
default:
|
||||
fprintf(stderr, "r300: Implementation error: Bad paramf %d\n",
|
||||
param);
|
||||
debug_printf("r300: Warning: Unknown CAP %d in get_paramf.\n",
|
||||
param);
|
||||
return 0.0f;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue