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/platform/sdl/sdlapp.cpp

    r2301 r2506  
    3434
    3535#if defined USE_SDL && defined USE_D3D9
    36 HWND g_hwnd = NULL;
     36HWND g_hwnd = nullptr;
    3737extern IDirect3DDevice9 *g_d3ddevice;
    3838#endif
     
    8888    }
    8989
    90     SDL_WM_SetCaption(title, NULL);
     90    SDL_WM_SetCaption(title, nullptr);
    9191
    9292    /* Initialise everything */
     
    127127    if (FAILED(hr))
    128128        Abort();
    129     hr = g_d3ddevice->Present(NULL, NULL, NULL, NULL);
     129    hr = g_d3ddevice->Present(nullptr, nullptr, nullptr, nullptr);
    130130    if (FAILED(hr))
    131131        Abort();
Note: See TracChangeset for help on using the changeset viewer.