Xcode-iOS/Demos/src/keyboard.c
changeset 7290 36c04a8c6545
parent 7191 75360622e65f
child 7678 286c42d7c5ed
     1.1 --- a/Xcode-iOS/Demos/src/keyboard.c	Wed Jun 05 23:09:13 2013 -0700
     1.2 +++ b/Xcode-iOS/Demos/src/keyboard.c	Wed Jun 05 23:11:20 2013 -0700
     1.3 @@ -168,8 +168,7 @@
     1.4  drawBlank(int x, int y)
     1.5  {
     1.6      SDL_Rect rect = { x, y, GLYPH_SIZE_SCREEN, GLYPH_SIZE_SCREEN };
     1.7 -    SDL_SetRenderDrawColor(renderer, bg_color.r, bg_color.g, bg_color.b,
     1.8 -                           bg_color.unused);
     1.9 +    SDL_SetRenderDrawColor(renderer, bg_color.r, bg_color.g, bg_color.b, bg_color.a);
    1.10      SDL_RenderFillRect(renderer, &rect);
    1.11  }
    1.12  
    1.13 @@ -248,8 +247,7 @@
    1.14      loadFont();
    1.15  
    1.16      /* draw the background, we'll just paint over it */
    1.17 -    SDL_SetRenderDrawColor(renderer, bg_color.r, bg_color.g, bg_color.b,
    1.18 -                           bg_color.unused);
    1.19 +    SDL_SetRenderDrawColor(renderer, bg_color.r, bg_color.g, bg_color.b, bg_color.a);
    1.20      SDL_RenderFillRect(renderer, NULL);
    1.21      SDL_RenderPresent(renderer);
    1.22