wined3d: Rename conversion_count to something more appropriate.

This commit is contained in:
Stefan Dösinger 2009-12-23 15:37:42 +01:00 committed by Alexandre Julliard
parent d6b9732497
commit f90b8b6352
2 changed files with 4 additions and 4 deletions

View File

@ -735,10 +735,10 @@ static void STDMETHODCALLTYPE buffer_PreLoad(IWineD3DBuffer *iface)
*/
if (decl_changed)
{
++This->conversion_count;
++This->decl_change_count;
This->draw_count = 0;
if (This->conversion_count > VB_MAXDECLCHANGES)
if (This->decl_change_count > VB_MAXDECLCHANGES)
{
FIXME("Too many declaration changes, stopping converting\n");
@ -763,7 +763,7 @@ static void STDMETHODCALLTYPE buffer_PreLoad(IWineD3DBuffer *iface)
* decl changes and reset the decl change count after a specific number of them
*/
++This->draw_count;
if (This->draw_count > VB_RESETDECLCHANGE) This->conversion_count = 0;
if (This->draw_count > VB_RESETDECLCHANGE) This->decl_change_count = 0;
}
if (decl_changed)

View File

@ -2373,7 +2373,7 @@ struct wined3d_buffer
LONG lock_count;
/* conversion stuff */
UINT conversion_count;
UINT decl_change_count;
UINT draw_count;
UINT stride; /* 0 if no conversion */
UINT conversion_stride; /* 0 if no shifted conversion */