mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 22:20:09 +01:00
gallium: temporarily disable the memcmp() in cso_set_framebuffer()
The memcmp() fails to detect buffer size changes...
This commit is contained in:
parent
85e4ec6d11
commit
8dd90ee19d
1 changed files with 2 additions and 1 deletions
|
|
@ -496,7 +496,8 @@ void cso_restore_vertex_shader(struct cso_context *ctx)
|
|||
void cso_set_framebuffer(struct cso_context *ctx,
|
||||
const struct pipe_framebuffer_state *fb)
|
||||
{
|
||||
if (memcmp(&ctx->fb, fb, sizeof(*fb))) {
|
||||
/* XXX this memcmp() fails to detect buffer size changes */
|
||||
if (1/*memcmp(&ctx->fb, fb, sizeof(*fb))*/) {
|
||||
ctx->fb = *fb;
|
||||
ctx->pipe->set_framebuffer_state(ctx->pipe, fb);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue