mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
- direct3d: minor fixes, no improvement (where are those pixel shaders gurus ?)
This commit is contained in:
parent
6c2611669f
commit
ff6739d00d
@ -1351,7 +1351,7 @@ static void Direct3DVoutRenderScene( vout_thread_t *p_vout, picture_t *p_pic )
|
||||
|
||||
/* Clear the backbuffer and the zbuffer */
|
||||
hr = IDirect3DDevice9_Clear( p_d3ddev, 0, NULL, D3DCLEAR_TARGET,
|
||||
D3DCOLOR_XRGB(0, 255, 0), 1.0f, 0 );
|
||||
D3DCOLOR_XRGB(0, 0, 0), 1.0f, 0 );
|
||||
if( FAILED(hr) )
|
||||
{
|
||||
msg_Dbg( p_vout, "%s:%d (hr=0x%0lX)", __FUNCTION__, __LINE__, hr);
|
||||
|
@ -313,7 +313,7 @@ void E_(DirectXEventThread)( event_thread_t *p_event )
|
||||
#ifdef MODULE_NAME_IS_direct3d
|
||||
val.psz_string = strdup( VOUT_TITLE " (Direct3D output)" );
|
||||
#endif
|
||||
#ifdef MODULE_NAME_IS_directx
|
||||
#ifdef MODULE_NAME_IS_vout_directx
|
||||
if( p_event->p_vout->p_sys->b_using_overlay ) val.psz_string =
|
||||
strdup( VOUT_TITLE " (hardware YUV overlay DirectX output)" );
|
||||
else if( p_event->p_vout->p_sys->b_hw_yuv ) val.psz_string =
|
||||
|
Loading…
Reference in New Issue
Block a user