diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-10-13 14:40:58 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-10-13 14:40:58 +0000 |
commit | 9992cbd580ded5cd4188dde7249db8890fb400f6 (patch) | |
tree | c3f84a72f8b956a06534aa85931d4f90d6f342c7 /libvo | |
parent | 1d5af8c0da88f3c2992c92e874e336e111a0caec (diff) | |
download | mpv-9992cbd580ded5cd4188dde7249db8890fb400f6.tar.bz2 mpv-9992cbd580ded5cd4188dde7249db8890fb400f6.tar.xz |
Surround conditionally used function with corresponding #ifdef, fixes:
libvo/vo_gl2.c:681: warning: 'gl_handlekey' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27754 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_gl2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c index 1efe6308df..09d7e23de6 100644 --- a/libvo/vo_gl2.c +++ b/libvo/vo_gl2.c @@ -677,6 +677,7 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin return 0; } +#ifndef GL_WIN32 static int gl_handlekey(int key) { if(key=='a'||key=='A') { @@ -688,6 +689,7 @@ static int gl_handlekey(int key) } return 1; } +#endif static void check_events(void) { |