mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-25 13:40:24 +01:00
radeon_fbo: switch short to byte for 565
This commit is contained in:
parent
e0c9157671
commit
b4c9569715
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ restart:
|
|||
rrb->cpp = 2;
|
||||
rrb->base._ActualFormat = GL_RGB5;
|
||||
rrb->base._BaseFormat = GL_RGB;
|
||||
rrb->base.DataType = GL_UNSIGNED_SHORT;
|
||||
rrb->base.DataType = GL_UNSIGNED_BYTE;
|
||||
DBG("Render to RGB5 texture OK\n");
|
||||
}
|
||||
else if (texImage->TexFormat == &_mesa_texformat_argb1555) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue