From f0b6860d62bf2c59be589a56750b2a95666a7564 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sat, 10 Nov 2018 11:27:03 +0100 Subject: vo_gpu: index desc namespaces by ra No reason to require them be constant. This allows them to depend on runtime characteristics of the `ra`. --- video/out/opengl/ra_gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/opengl') diff --git a/video/out/opengl/ra_gl.c b/video/out/opengl/ra_gl.c index 1101f44c49..e4c9c36562 100644 --- a/video/out/opengl/ra_gl.c +++ b/video/out/opengl/ra_gl.c @@ -693,7 +693,7 @@ static void gl_blit(struct ra *ra, struct ra_tex *dst, struct ra_tex *src, gl->BindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); } -static int gl_desc_namespace(enum ra_vartype type) +static int gl_desc_namespace(struct ra *ra, enum ra_vartype type) { return type; } -- cgit v1.2.3