Commit e754ada8 authored by Damien Fouilleul's avatar Damien Fouilleul

- direct3d: re-enabled YUV textures for Vista

parent c51f608a
...@@ -836,7 +836,8 @@ static D3DFORMAT Direct3DVoutSelectFormat( vout_thread_t *p_vout, D3DFORMAT targ ...@@ -836,7 +836,8 @@ static D3DFORMAT Direct3DVoutSelectFormat( vout_thread_t *p_vout, D3DFORMAT targ
static D3DFORMAT Direct3DVoutFindFormat(vout_thread_t *p_vout, int i_chroma, D3DFORMAT target) static D3DFORMAT Direct3DVoutFindFormat(vout_thread_t *p_vout, int i_chroma, D3DFORMAT target)
{ {
if( p_vout->p_sys->b_hw_yuv && ! _got_vista_or_above ) //if( p_vout->p_sys->b_hw_yuv && ! _got_vista_or_above )
if( p_vout->p_sys->b_hw_yuv )
{ {
/* it sounds like vista does not support YUV surfaces at all */ /* it sounds like vista does not support YUV surfaces at all */
switch( i_chroma ) switch( i_chroma )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment