summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_surface.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-02-18 19:03:08 +0000
committerJosé Fonseca <[email protected]>2011-02-18 19:03:43 +0000
commite16e70610c459721f4344dc6e61a8af1c2ad870d (patch)
tree41d045b6e3a3de47a9a27098df311e00d1039c4a /src/gallium/drivers/svga/svga_surface.h
parent7ea729a1855e93b3c41c72781950f8612221fd5c (diff)
svga: Fix NULL dereference.
Probably introduced with the surface view move from screen to context.
Diffstat (limited to 'src/gallium/drivers/svga/svga_surface.h')
-rw-r--r--src/gallium/drivers/svga/svga_surface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_surface.h b/src/gallium/drivers/svga/svga_surface.h
index 04166f1fca2..bffc8c22c60 100644
--- a/src/gallium/drivers/svga/svga_surface.h
+++ b/src/gallium/drivers/svga/svga_surface.h
@@ -62,7 +62,7 @@ extern boolean
svga_surface_needs_propagation(struct pipe_surface *surf);
struct svga_winsys_surface *
-svga_texture_view_surface(struct pipe_context *pipe,
+svga_texture_view_surface(struct svga_context *svga,
struct svga_texture *tex,
SVGA3dSurfaceFlags flags,
SVGA3dSurfaceFormat format,