Changeset 512


Ignore:
Timestamp:
Nov 17, 2005, 3:13:54 PM (15 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Fixed a bunch of warnings
Location:
libcaca/trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/bitmap.c

    r507 r512  
    471471    int *floyd_steinberg, *fs_r, *fs_g, *fs_b;
    472472    int fs_length;
    473 
    474     /* Only used when background is black */
    475     static int const white_colors[] =
    476     {
    477         CACA_COLOR_BLACK,
    478         CACA_COLOR_DARKGRAY,
    479         CACA_COLOR_LIGHTGRAY,
    480         CACA_COLOR_WHITE
    481     };
    482 
    483     static int const light_colors[] =
    484     {
    485         CACA_COLOR_LIGHTMAGENTA,
    486         CACA_COLOR_LIGHTRED,
    487         CACA_COLOR_YELLOW,
    488         CACA_COLOR_LIGHTGREEN,
    489         CACA_COLOR_LIGHTCYAN,
    490         CACA_COLOR_LIGHTBLUE,
    491         CACA_COLOR_LIGHTMAGENTA
    492     };
    493 
    494     static int const dark_colors[] =
    495     {
    496         CACA_COLOR_MAGENTA,
    497         CACA_COLOR_RED,
    498         CACA_COLOR_BROWN,
    499         CACA_COLOR_GREEN,
    500         CACA_COLOR_CYAN,
    501         CACA_COLOR_BLUE,
    502         CACA_COLOR_MAGENTA
    503     };
    504473
    505474    /* FIXME: choose better characters! */
  • libcaca/trunk/src/event.c

    r498 r512  
    5858#include <GL/gl.h>
    5959#include <GL/glut.h>
     60#include <GL/freeglut_ext.h>
    6061extern int gl_special_key;
    6162extern unsigned char gl_key;
  • libcaca/trunk/src/graphics.c

    r511 r512  
    6262#   include <GL/gl.h>
    6363#   include <GL/glut.h>
     64#   include <GL/freeglut_ext.h>
    6465#endif
    6566#if defined(HAVE_INTTYPES_H) || defined(_DOXYGEN_SKIP_ME)
     
    19051906        for(x = 0; x < _caca_width; x += len)
    19061907        {
    1907             int i;
     1908            unsigned int i;
    19081909
    19091910            /* Use colspan option to factorize cells with same attributes
Note: See TracChangeset for help on using the changeset viewer.