diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-12-01 17:05:58 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-12-01 17:05:58 +0000 |
commit | c977dab4562f5ee1324a971d396a997baf341383 (patch) | |
tree | b13a36cea80220e5c68a83822fe7d410ed48bb9f /libvo/gl_common.h | |
parent | e6524e5b0958e8b798e160c6ae555f5495c5f5eb (diff) | |
download | mpv-c977dab4562f5ee1324a971d396a997baf341383.tar.bz2 mpv-c977dab4562f5ee1324a971d396a997baf341383.tar.xz |
More similar code from gl and gl2 moved to gl_common
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14079 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r-- | libvo/gl_common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h index 944f500cd3..2a02643483 100644 --- a/libvo/gl_common.h +++ b/libvo/gl_common.h @@ -15,6 +15,11 @@ void glAdjustAlignment(int stride); +const char *glValName(GLint value); + +int glFindFormat(uint32_t format, uint32_t *bpp, GLenum *gl_texfmt, + GLenum *gl_format, GLenum *gl_type); + //! could not set new window, will continue drawing into the old one. #define SET_WINDOW_FAILED -1 //! new window is set, could even transfer the OpenGL context. |