Changeset 486


Ignore:
Timestamp:
Jun 21, 2005, 6:13:41 PM (16 years ago)
Author:
Jean-Yves Lamoureux
Message:

GL driver : Updated documentation and added support for CACA_GEOMETRY

Location:
libcaca/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/caca.h

    r485 r486  
    4040 *  using the conio library, and on Windows systems using either slang or
    4141 *  ncurses (through Cygwin emulation) or conio. There is also a native X11
    42  *  driver that does not require a text terminal.
     42 *  driver, and an OpenGL driver (through freeglut) that does not require a
     43 *  text terminal.
    4344 *
    4445 *  \e libcaca is free software, released under the GNU Lesser General
     
    6263 *      - \c slang uses the S-Lang library.
    6364 *      - \c x11 uses the native X11 driver.
     65 *      - \c gl uses freeglut and opengl libraries.
    6466 *
    6567 *  \li \b CACA_GEOMETRY: set the video display size. The format of this
    6668 *      variable must be XxY, with X and Y being integer values. This option
    67  *      currently only works with the X11 driver.
     69 *      currently only works with the X11 and the GL driver.
    6870 *
    6971 *  \li \b CACA_FONT: set the rendered font. The format of this variable is
  • libcaca/trunk/src/graphics.c

    r485 r486  
    968968          char *empty;
    969969
     970          if(getenv("CACA_GEOMETRY") && *(getenv("CACA_GEOMETRY")))
     971            sscanf(getenv("CACA_GEOMETRY"),
     972                   "%ux%u", &_caca_width, &_caca_height);
     973         
    970974        if(!_caca_width)
    971975            _caca_width = 80;
Note: See TracChangeset for help on using the changeset viewer.