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 e6c8affae92a42d1e26f117c3002b3d1e864e511..f7231dc3f12e64d894e5a866996d8d04d8269ae2 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)) {