mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-15 09:58:05 +02:00
dri/nouveau: nv10: fix vertex format for GL_UNSIGNED_BYTE
Broken accidentally in f4efc256fd,
the switch to rnn headers.
NV10TCL_VTXFMT_TYPE_BYTE_RGBA became U8_UNORM but B8G8R8A8_UNORM
was used instead.
This commit is contained in:
parent
7af4e18dcd
commit
f29208aa9b
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ get_hw_format(int type)
|
|||
case GL_UNSIGNED_SHORT:
|
||||
return NV10_3D_VTXBUF_FMT_TYPE_V16_SNORM;
|
||||
case GL_UNSIGNED_BYTE:
|
||||
return NV10_3D_VTXBUF_FMT_TYPE_B8G8R8A8_UNORM;
|
||||
return NV10_3D_VTXBUF_FMT_TYPE_U8_UNORM;
|
||||
default:
|
||||
assert(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue