projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67356ae
)
nouveau: nv30: Remove duplicate case. Was a typo for X8R8G8B8, but that will never...
author
Patrice Mandin
<patmandin@gmail.com>
Sat, 17 Oct 2009 18:46:19 +0000
(20:46 +0200)
committer
Patrice Mandin
<patmandin@gmail.com>
Sat, 17 Oct 2009 18:46:19 +0000
(20:46 +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 5b1e5cab2dd9d8a1ed2fe11bcf58076f4eaf1d58..bb40e1803d13d6190258804fbce30dc41cb010f6 100644
(file)
--- a/
src/gallium/drivers/nv30/nv30_screen.c
+++ b/
src/gallium/drivers/nv30/nv30_screen.c
@@
-108,8
+108,7
@@
nv30_screen_surface_format_supported(struct pipe_screen *pscreen,
switch (format) {
case PIPE_FORMAT_Z24S8_UNORM:
case PIPE_FORMAT_Z24X8_UNORM:
- return (front->format == PIPE_FORMAT_A8R8G8B8_UNORM)
- || (front->format == PIPE_FORMAT_A8R8G8B8_UNORM);
+ return (front->format == PIPE_FORMAT_A8R8G8B8_UNORM);
case PIPE_FORMAT_Z16_UNORM:
return (front->format == PIPE_FORMAT_R5G6B5_UNORM);
default: