Previous 199869 Revisions Next

r22948 Sunday 19th May, 2013 at 19:14:45 UTC by Oliver Stöneberg
fixed some initialization and cleanup issues with new D3D code (nw)
[src/osd/windows]drawd3d.c

trunk/src/osd/windows/drawd3d.c
r22947r22948
490490   m_renderer = d3d;
491491
492492   m_texlist = NULL;
493   m_vector_texture = NULL;
494   m_default_texture = NULL;
493495
494496   // check for dynamic texture support
495497   DWORD tempcaps;
r22947r22948
582584
583585void texture_manager::delete_resources()
584586{
585   global_free(m_default_texture);
587   // is part of m_texlist and will be free'd there
588   //global_free(m_default_texture);
586589   m_default_texture = NULL;
587590
591   //global_free(m_vector_texture);
592   m_vector_texture = NULL;
593
588594   // free all textures
589595   while (m_texlist != NULL)
590596   {

Previous 199869 Revisions Next


© 1997-2024 The MAME Team