mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 16:48:07 +02:00
Cell: emit state in cell_clear_surface() if dirty.
Without this a program that does nothing but glClear() doesn't work. We need the framebuffer state.
This commit is contained in:
parent
043fc00a60
commit
41899c70a7
1 changed files with 4 additions and 0 deletions
|
|
@ -50,6 +50,10 @@ cell_clear_surface(struct pipe_context *pipe, struct pipe_surface *ps,
|
|||
struct cell_context *cell = cell_context(pipe);
|
||||
uint surfIndex;
|
||||
|
||||
if (cell->dirty)
|
||||
cell_update_derived(cell);
|
||||
|
||||
|
||||
if (!cell->cbuf_map[0])
|
||||
cell->cbuf_map[0] = pipe_surface_map(ps);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue