summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/formats.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-04-14 17:35:27 +0200
committerwm4 <wm4@nowhere>2017-04-14 17:35:27 +0200
commit7b84297699214a9e35eb7d4d447d29e62c26892f (patch)
treec2a00bf805e19e80f40a97d1004ac1cbc0b0de25 /video/out/opengl/formats.h
parentdc5dfa5c929d2bf079cd8085338b9dc91c3fa8e3 (diff)
downloadmpv-7b84297699214a9e35eb7d4d447d29e62c26892f.tar.bz2
mpv-7b84297699214a9e35eb7d4d447d29e62c26892f.tar.xz
vo_opengl: minor cosmetics
Diffstat (limited to 'video/out/opengl/formats.h')
-rw-r--r--video/out/opengl/formats.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/video/out/opengl/formats.h b/video/out/opengl/formats.h
index 9b20c3fa26..288e92f5db 100644
--- a/video/out/opengl/formats.h
+++ b/video/out/opengl/formats.h
@@ -7,11 +7,9 @@ struct gl_format {
GLint internal_format; // glTexImage argument
GLenum format; // glTexImage argument
GLenum type; // e.g. GL_UNSIGNED_SHORT
- int flags;
+ int flags; // F_* flags
};
-extern const struct gl_format gl_formats[];
-
enum {
// --- gl_format.flags