Commit f90b8b63 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Rename conversion_count to something more appropriate.

parent d6b97324
......@@ -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)
......
......@@ -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 */
......
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