Date:2012-06-21 23:56:18 (7 years 7 months ago)
Author:Werner Almesberger
Commit:77bd5797d3a8d0faffc464199b20d5a41a50a688
Message:tools/plot.c: clear sample mode screen with C

Files: tools/plot.c (1 diff)

Change Details

tools/plot.c
8080        switch (event.type) {
8181        case SDL_KEYDOWN:
8282            switch (event.key.keysym.sym) {
83            case SDLK_c:
84                SDL_LockSurface(surf);
85                SDL_FillRect(surf, NULL,
86                    SDL_MapRGB(surf->format, 0, 0, 0));
87                SDL_UpdateRect(surf, 0, 0, 0, 0);
88                SDL_UnlockSurface(surf);
89                break;
8390            case SDLK_q:
8491                return 0;
8592            default:

Archive Download the corresponding diff file

Branches:
master
tornado-v1



interactive