mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 16:10:09 +01:00
nouveau: nv30: Remove duplicate case. Was a typo for X8R8G8B8, but that will never be use for front buffer.
This commit is contained in:
parent
67356ae047
commit
66aab9a1f6
1 changed files with 1 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue