Skip to content
Snippets Groups Projects
Commit 46d879ee authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard
Browse files

wined3d: Don't drop VBOs for full buffer reloading without conversion.

parent 629f382a
No related branches found
No related tags found
No related merge requests found
......@@ -1002,7 +1002,7 @@ void CDECL wined3d_buffer_preload(struct wined3d_buffer *buffer)
* changes it every minute drop the VBO after VB_MAX_DECL_CHANGES minutes. So count draws without
* decl changes and reset the decl change count after a specific number of them
*/
if (buffer_is_fully_dirty(buffer))
if (buffer->conversion_map && buffer_is_fully_dirty(buffer))
{
++buffer->full_conversion_count;
if (buffer->full_conversion_count > VB_MAXFULLCONVERSIONS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment