Ignore:
Timestamp:
Feb 26, 2013, 2:43:45 PM (7 years ago)
Author:
sam
Message:

base: start removing occurrences of NULL on our long journey to nullptr.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gpu/indexbuffer.cpp

    r2216 r2506  
    6868    if (FAILED(g_d3ddevice->CreateIndexBuffer(size, D3DUSAGE_WRITEONLY,
    6969                                              D3DFMT_INDEX16, D3DPOOL_MANAGED,
    70                                               &m_data->m_ibo, NULL)))
     70                                              &m_data->m_ibo, nullptr)))
    7171        Abort();
    7272#else
     
    9494{
    9595    if (!m_data->m_size)
    96         return NULL;
     96        return nullptr;
    9797
    9898#if defined USE_D3D9 || defined _XBOX
     
    143143
    144144#if defined USE_D3D9 || defined _XBOX
    145     if (FAILED(g_d3ddevice->SetIndices(NULL)))
     145    if (FAILED(g_d3ddevice->SetIndices(nullptr)))
    146146        Abort();
    147147#else
Note: See TracChangeset for help on using the changeset viewer.