projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b129c55
)
nouveau: nv30: wrong variable for format
author
Patrice Mandin
<patmandin@gmail.com>
Wed, 22 Jul 2009 20:25:36 +0000
(22:25 +0200)
committer
Patrice Mandin
<patmandin@gmail.com>
Wed, 22 Jul 2009 20:26:08 +0000
(22:26 +0200)
src/gallium/drivers/nv30/nv30_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv30/nv30_screen.c
b/src/gallium/drivers/nv30/nv30_screen.c
index c8b40784b0585d09ab654cd3200009a067a7908b..f8285e4455fe6c64e9d99d3aed2cfa652551b518 100644
(file)
--- a/
src/gallium/drivers/nv30/nv30_screen.c
+++ b/
src/gallium/drivers/nv30/nv30_screen.c
@@
-95,7
+95,7
@@
nv30_screen_surface_format_supported(struct pipe_screen *pscreen,
}
} else
if (tex_usage & PIPE_TEXTURE_USAGE_DEPTH_STENCIL) {
- switch (
tex_usage
) {
+ switch (
format
) {
case PIPE_FORMAT_Z24S8_UNORM:
case PIPE_FORMAT_Z24X8_UNORM:
case PIPE_FORMAT_Z16_UNORM: