Mercurial > mplayer.hg
comparison libvo/vo_gl.c @ 36517:5d3f93051de9
Remove empty draw_slice and draw_frame stubs.
Long term, draw_frame should be removed completely.
author | reimar |
---|---|
date | Sat, 18 Jan 2014 21:39:07 +0000 |
parents | 687e65bf99f9 |
children | 61a9df2e25d0 |
comparison
equal
deleted
inserted
replaced
36516:b726218447c9 | 36517:5d3f93051de9 |
---|---|
29 #include "config.h" | 29 #include "config.h" |
30 #include "sub/ass_mp.h" | 30 #include "sub/ass_mp.h" |
31 #include "mp_msg.h" | 31 #include "mp_msg.h" |
32 #include "subopt-helper.h" | 32 #include "subopt-helper.h" |
33 #include "video_out.h" | 33 #include "video_out.h" |
34 #define NO_DRAW_FRAME | |
34 #include "video_out_internal.h" | 35 #include "video_out_internal.h" |
35 #include "libmpcodecs/vf.h" | 36 #include "libmpcodecs/vf.h" |
36 #include "sub/font_load.h" | 37 #include "sub/font_load.h" |
37 #include "sub/sub.h" | 38 #include "sub/sub.h" |
38 | 39 |
1130 else mpglBindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); | 1131 else mpglBindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); |
1131 } | 1132 } |
1132 skip_upload: | 1133 skip_upload: |
1133 if (vo_doublebuffering) do_render(); | 1134 if (vo_doublebuffering) do_render(); |
1134 return VO_TRUE; | 1135 return VO_TRUE; |
1135 } | |
1136 | |
1137 static int | |
1138 draw_frame(uint8_t *src[]) | |
1139 { | |
1140 return VO_ERROR; | |
1141 } | 1136 } |
1142 | 1137 |
1143 static int | 1138 static int |
1144 query_format(uint32_t format) | 1139 query_format(uint32_t format) |
1145 { | 1140 { |