diff options
author | José Fonseca <[email protected]> | 2010-08-15 13:36:02 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-08-22 11:37:28 +0100 |
commit | 04094b2da2030a82ff49e647fc8658502f02cea8 (patch) | |
tree | 016b90f63810cb7df8d86c979982bb7bb66a0c03 /src/gallium/drivers/svga/svga_cmd.c | |
parent | 52e9520274c797f55af5f515a3f203515b6cb231 (diff) |
svga: Do not shortcut NULL surface relocations with SVGA3D_INVALID_ID.
How to cope with NULL surface relocations should be entirely at winsys'
discretion.
Diffstat (limited to 'src/gallium/drivers/svga/svga_cmd.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_cmd.c b/src/gallium/drivers/svga/svga_cmd.c index 7b2dfe25496..e975f3b02fa 100644 --- a/src/gallium/drivers/svga/svga_cmd.c +++ b/src/gallium/drivers/svga/svga_cmd.c @@ -67,7 +67,7 @@ void surface_to_surfaceid(struct svga_winsys_context *swc, // IN id->mipmap = s->real_level; } else { - id->sid = SVGA3D_INVALID_ID; + swc->surface_relocation(swc, &id->sid, NULL, flags); id->face = 0; id->mipmap = 0; } |