g3dvl: Unbreak debug build.
authorYounes Manton <younes.m@gmail.com>
Sun, 8 Nov 2009 00:45:47 +0000 (19:45 -0500)
committerYounes Manton <younes.m@gmail.com>
Sun, 8 Nov 2009 00:45:47 +0000 (19:45 -0500)
src/gallium/drivers/softpipe/sp_video_context.c

index e6c8aff..f7231dc 100644 (file)
@@ -339,7 +339,7 @@ sp_video_create_ex(struct pipe_context *pipe, enum pipe_video_profile profile,
                    enum VL_MPEG12_MC_RENDERER_EMPTY_BLOCK eb_handling,
                    bool pot_buffers)
 {
-   assert(screen);
+   assert(pipe);
    assert(width && height);
 
    switch (u_reduce_video_profile(profile)) {