Ignore:
Timestamp:
Dec 18, 2009, 10:50:37 PM (10 years ago)
Author:
Sam Hocevar
Message:

Fix an alignment issue in caca_get_canvas_chars() and caca_get_canvas_attrs().
Fixes #41.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver/gl.c

    r4096 r4146  
    11/*
    22 *  libcaca       Colour ASCII-Art library
    3  *  Copyright (c) 2002-2006 Sam Hocevar <sam@hocevar.net>
     3 *  Copyright (c) 2002-2009 Sam Hocevar <sam@hocevar.net>
    44 *                2006 Jean-Yves Lamoureux <jylam@lnxscene.org>
    55 *                2007 Ben Wiley Sittler <bsittler@gmail.com>
     
    217217static void gl_display(caca_display_t *dp)
    218218{
    219     uint32_t const *cvchars = (uint32_t const *)caca_get_canvas_chars(dp->cv);
    220     uint32_t const *cvattrs = (uint32_t const *)caca_get_canvas_attrs(dp->cv);
     219    uint32_t const *cvchars = caca_get_canvas_chars(dp->cv);
     220    uint32_t const *cvattrs = caca_get_canvas_attrs(dp->cv);
    221221    int width = caca_get_canvas_width(dp->cv);
    222222    int x, y, line;
Note: See TracChangeset for help on using the changeset viewer.