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/vertexbuffer.cpp

    r2497 r2506  
    613613        return;
    614614#if defined USE_D3D9 || defined _XBOX
    615     if (FAILED(g_d3ddevice->CreateVertexBuffer(size, D3DUSAGE_WRITEONLY, NULL,
    616                                                D3DPOOL_MANAGED, &m_data->m_vbo, NULL)))
     615    if (FAILED(g_d3ddevice->CreateVertexBuffer(size, D3DUSAGE_WRITEONLY, nullptr,
     616                                               D3DPOOL_MANAGED, &m_data->m_vbo, nullptr)))
    617617        Abort();
    618618#else
     
    640640{
    641641    if (!m_data->m_size)
    642         return NULL;
     642        return nullptr;
    643643#if defined USE_D3D9 || defined _XBOX
    644644    void *ret;
Note: See TracChangeset for help on using the changeset viewer.