summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/ra.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-07-29 20:15:59 +0200
committerwm4 <wm4@nowhere>2017-07-29 20:15:59 +0200
commit37b7b32d6138842fb567fa8feeda14ff566bc57b (patch)
tree5298a4b79d62e5c228831f348067661b8220b435 /video/out/opengl/ra.h
parent8494fdadaeb25b3c1a42c71559be5bd74d1d4638 (diff)
downloadmpv-37b7b32d6138842fb567fa8feeda14ff566bc57b.tar.bz2
mpv-37b7b32d6138842fb567fa8feeda14ff566bc57b.tar.xz
vo_opengl: manage scaler LUT textures via ra
Also fix the RA_CAP_ bitmask nonsense.
Diffstat (limited to 'video/out/opengl/ra.h')
-rw-r--r--video/out/opengl/ra.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/opengl/ra.h b/video/out/opengl/ra.h
index 11b458b616..ac209a935d 100644
--- a/video/out/opengl/ra.h
+++ b/video/out/opengl/ra.h
@@ -19,8 +19,8 @@ struct ra {
};
enum {
- RA_CAP_TEX_1D = 0 << 0, // supports 1D textures (as shader source textures)
- RA_CAP_TEX_3D = 0 << 1, // supports 3D textures (as shader source textures)
+ RA_CAP_TEX_1D = 1 << 0, // supports 1D textures (as shader source textures)
+ RA_CAP_TEX_3D = 1 << 1, // supports 3D textures (as shader source textures)
};
enum ra_ctype {