From e16e70610c459721f4344dc6e61a8af1c2ad870d Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 18 Feb 2011 19:03:08 +0000 Subject: svga: Fix NULL dereference. Probably introduced with the surface view move from screen to context. --- src/gallium/drivers/svga/svga_surface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/svga/svga_surface.h') diff --git a/src/gallium/drivers/svga/svga_surface.h b/src/gallium/drivers/svga/svga_surface.h index 04166f1fca..bffc8c22c6 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, -- cgit v1.2.3