mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-18 22:00:25 +01:00
nouveau : nv10 mixing cached stuff with not cached stuff is bad.
This commit is contained in:
parent
b0e86b2dbd
commit
c7c0a6ddcd
1 changed files with 4 additions and 4 deletions
|
|
@ -688,10 +688,10 @@ static GLboolean nv10BindBuffers(nouveauContextPtr nmesa, int num_color,
|
|||
if (color[0]->mesa._ActualFormat != GL_RGBA8) {
|
||||
format = 0x103; /* R5G6B5 color buffer */
|
||||
}
|
||||
OUT_RING(format);
|
||||
OUT_RING(pitch);
|
||||
OUT_RING(color[0]->offset);
|
||||
OUT_RING(depth ? depth->offset : color[0]->offset);
|
||||
OUT_RING_CACHE(format);
|
||||
OUT_RING_CACHE(pitch);
|
||||
OUT_RING_CACHE(color[0]->offset);
|
||||
OUT_RING_CACHE(depth ? depth->offset : color[0]->offset);
|
||||
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue