projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d89a79
)
r300g: always fail to create a multisample resource
author
Marek Olšák
<maraeo@gmail.com>
Sun, 12 Feb 2012 12:06:15 +0000
(13:06 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Sun, 12 Feb 2012 12:07:51 +0000
(13:07 +0100)
Just to be safe.
src/gallium/drivers/r300/r300_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_texture.c
b/src/gallium/drivers/r300/r300_texture.c
index 99678bc89a8292a92cc74e69ef518136210e03c0..289c71f0e653d07e79889107b76556bb378a6dbb 100644
(file)
--- 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;