summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gpu/video.c')
-rw-r--r--video/out/gpu/video.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c
index 3ec5cdfcd9..88a8557cc2 100644
--- a/video/out/gpu/video.c
+++ b/video/out/gpu/video.c
@@ -2764,6 +2764,9 @@ static void pass_dither(struct gl_video *p)
debug_check_gl(p, "dither setup");
talloc_free(temp);
+
+ if (!p->dither_texture)
+ return;
}
GLSLF("// dithering\n");