Fix this
This commit is contained in:
parent
24e18fcce6
commit
2bca74bbaa
|
@ -3061,7 +3061,10 @@ const gfx_ctx_driver_t *video_context_driver_init_first(void *data,
|
||||||
const gfx_ctx_driver_t *ctx = video_context_driver_init(data, gfx_ctx_drivers[i], ident,
|
const gfx_ctx_driver_t *ctx = video_context_driver_init(data, gfx_ctx_drivers[i], ident,
|
||||||
api, major, minor, hw_render_ctx, &ctx_data);
|
api, major, minor, hw_render_ctx, &ctx_data);
|
||||||
if (ctx)
|
if (ctx)
|
||||||
|
{
|
||||||
video_context_data = ctx_data;
|
video_context_data = ctx_data;
|
||||||
|
return ctx;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; gfx_ctx_drivers[i]; i++)
|
for (i = 0; gfx_ctx_drivers[i]; i++)
|
||||||
|
|
Loading…
Reference in New Issue