Mac and Linux SDL2 binary snapshots
Edward Rudd
2014-03-08 e2b6e957100030b4c9e8d720157b0a34195e6dcb
source/test/testdropfile.c
@@ -1,5 +1,5 @@
/*
  Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>
  Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
  This software is provided 'as-is', without any express or implied
  warranty.  In no event will the authors be held liable for any damages
@@ -44,6 +44,10 @@
        int consumed;
        consumed = SDLTest_CommonArg(state, i);
        // needed vodoo to allow app to launch via OS X Finder
        if (SDL_strncmp(argv[i], "-psn", 4)==0) {
            consumed = 1;
        }
        if (consumed == 0) {
            consumed = -1;
        }
@@ -64,6 +68,8 @@
        SDL_RenderPresent(renderer);
    }
    SDL_EventState(SDL_DROPFILE, SDL_ENABLE);
    /* Main render loop */
    done = 0;
    while (!done) {