diff options
Diffstat (limited to 'libvo/vo_3dfx.c')
-rw-r--r-- | libvo/vo_3dfx.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libvo/vo_3dfx.c b/libvo/vo_3dfx.c index aa0ba7da24..994b47bca2 100644 --- a/libvo/vo_3dfx.c +++ b/libvo/vo_3dfx.c @@ -493,8 +493,11 @@ static uint32_t preinit(const char *arg) return 0; } -static void query_vaa(vo_vaa_t *vaa) +uint32_t control(uint32_t request, void *data, ...) { - memset(vaa,0,sizeof(vo_vaa_t)); + switch (request) { + case VOCTRL_QUERY_FORMAT: + return query_format(*((uint32_t*)data)); + } + return VO_NOTIMPL; } - |