summaryrefslogtreecommitdiffstats
path: root/video/out/vo_opengl.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r--video/out/vo_opengl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
index 9b3f944e21..f5b0bd37c4 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -301,7 +301,7 @@ static int control(struct vo *vo, uint32_t request, void *data)
vo->want_redraw = true;
return true;
case VOCTRL_PERFORMANCE_DATA:
- *(struct voctrl_performance_data *)data = gl_video_perfdata(p->renderer);
+ gl_video_perfdata(p->renderer, (struct voctrl_performance_data *)data);
return true;
}