projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd2499b
)
r300g: do not print get_param errors in non-debug build
author
Marek Olšák
<maraeo@gmail.com>
Fri, 22 Oct 2010 17:45:05 +0000
(19:45 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 22 Oct 2010 18:34:27 +0000
(20:34 +0200)
src/gallium/drivers/r300/r300_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_screen.c
b/src/gallium/drivers/r300/r300_screen.c
index b448924f85e4c90b666ed43ed6de620758355485..963fa8fcd086691e20dad8b52360c4a77e6fadbd 100644
(file)
--- a/
src/gallium/drivers/r300/r300_screen.c
+++ b/
src/gallium/drivers/r300/r300_screen.c
@@
-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;
}
}