diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2010-06-22 22:39:53 -0700 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2010-06-22 22:49:13 -0700 |
commit | de7b181e99a64cb517a021f00f714c6af9b337ee (patch) | |
tree | 38b76d73e6bade554a91a2d61d6494dce37b4805 /src/gallium/drivers/r300 | |
parent | 7d551eb03df0a732e9e55dd960afffc6a1525377 (diff) |
glhd: Grab is_format_supported warning from r300g.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 8f7c96b829..d3d36a782c 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -269,12 +269,6 @@ static boolean r300_is_format_supported(struct pipe_screen* screen, format == PIPE_FORMAT_R16G16B16_FLOAT || format == PIPE_FORMAT_R16G16B16A16_FLOAT; - if (target >= PIPE_MAX_TEXTURE_TYPES) { - fprintf(stderr, "r300: Implementation error: Received bogus texture " - "target %d in %s\n", target, __FUNCTION__); - return FALSE; - } - switch (sample_count) { case 0: case 1: |