summaryrefslogtreecommitdiffstats
path: root/test/gl_video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-08 14:21:40 +0100
committerwm4 <wm4@nowhere>2019-11-08 14:21:40 +0100
commit3ed9c1c9701098db17a2b791f9793e75a1947cc9 (patch)
tree4a1fb9145ab825c582e1e30fd819522d9aa0f93e /test/gl_video.c
parent53b7a10f5453083390e65bdab5f1e642c37d89a2 (diff)
downloadmpv-3ed9c1c9701098db17a2b791f9793e75a1947cc9.tar.bz2
mpv-3ed9c1c9701098db17a2b791f9793e75a1947cc9.tar.xz
test: just always provide a context for all entrypoints
Diffstat (limited to 'test/gl_video.c')
-rw-r--r--test/gl_video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gl_video.c b/test/gl_video.c
index dd866c955c..eb2288d8b4 100644
--- a/test/gl_video.c
+++ b/test/gl_video.c
@@ -2,7 +2,7 @@
#include "test_helpers.h"
#include "video/out/gpu/video.h"
-static void run(void)
+static void run(struct test_ctx *ctx)
{
float x;
@@ -26,5 +26,5 @@ static void run(void)
const struct unittest test_gl_video = {
.name = "gl_video",
- .run_simple = run,
+ .run = run,
};