summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r--src/gallium/drivers/svga/svga_surface.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_surface.h b/src/gallium/drivers/svga/svga_surface.h
index 0e5794b0b38..c166791e1e7 100644
--- a/src/gallium/drivers/svga/svga_surface.h
+++ b/src/gallium/drivers/svga/svga_surface.h
@@ -93,7 +93,6 @@ svga_texture_copy_handle(struct svga_context *svga,
static inline struct svga_surface *
svga_surface(struct pipe_surface *surface)
{
- assert(surface);
return (struct svga_surface *)surface;
}
@@ -101,7 +100,6 @@ svga_surface(struct pipe_surface *surface)
static inline const struct svga_surface *
svga_surface_const(const struct pipe_surface *surface)
{
- assert(surface);
return (const struct svga_surface *)surface;
}