diff options
author | wm4 <wm4@nowhere> | 2014-12-16 18:55:02 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-16 18:55:20 +0100 |
commit | 0e8fbdbdb1ea212128ae6a193d198ed90f5ca4ac (patch) | |
tree | 62da75feb37ada97b833b7e0c80d4c0e763fbd87 /video/out/vo_opengl_cb.c | |
parent | 446e759f64c8a9cf23cf5ba1aa66e02d569786ff (diff) | |
download | mpv-0e8fbdbdb1ea212128ae6a193d198ed90f5ca4ac.tar.bz2 mpv-0e8fbdbdb1ea212128ae6a193d198ed90f5ca4ac.tar.xz |
vo_opengl: remove requirement for RG textures
Features not supported are disabled (although with a misleading error
message).
Diffstat (limited to 'video/out/vo_opengl_cb.c')
-rw-r--r-- | video/out/vo_opengl_cb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_opengl_cb.c b/video/out/vo_opengl_cb.c index 97c50ba489..a6731c6a51 100644 --- a/video/out/vo_opengl_cb.c +++ b/video/out/vo_opengl_cb.c @@ -135,7 +135,7 @@ int mpv_opengl_cb_init_gl(struct mpv_opengl_cb_context *ctx, const char *exts, mpgl_load_functions2(ctx->gl, get_proc_address, get_proc_address_ctx, exts, ctx->log); - int caps = MPGL_CAP_GL21 | MPGL_CAP_TEX_RG; + int caps = MPGL_CAP_GL21; if ((ctx->gl->mpgl_caps & caps) != caps) { MP_FATAL(ctx, "Missing OpenGL features.\n"); return MPV_ERROR_UNSUPPORTED; |