From: Marek Olšák Date: Sun, 12 Feb 2012 12:06:15 +0000 (+0100) Subject: r300g: always fail to create a multisample resource X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6cd9159cea628c542d2233b54f6babb74e45f83c;p=mesa.git r300g: always fail to create a multisample resource Just to be safe. --- diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c index 99678bc89a8..289c71f0e65 100644 --- a/src/gallium/drivers/r300/r300_texture.c +++ b/src/gallium/drivers/r300/r300_texture.c @@ -883,6 +883,9 @@ r300_texture_create_object(struct r300_screen *rscreen, return NULL; } + if (base->nr_samples > 1) + return NULL; + pipe_reference_init(&tex->b.b.b.reference, 1); tex->b.b.b.screen = &rscreen->screen; tex->b.b.b.usage = base->usage;