Changeset 9062bef in git


Ignore:
Timestamp:
20/09/11 00:16:02 (8 years ago)
Author:
Olly Betts <olly@…>
Branches:
add-show-splays, line_contents, master, stereo, svn/github/master, svn/origin/master, svn/tags/1.2.0, svn/tags/1.2.1, svn/tags/1.2.2, svn/tags/1.2.3, svn/tags/1.2.4, svn/tags/1.2.5, svn/trunk, travis-osx
Children:
95ed2ba
Parents:
f04ae51
Message:

src/fnt.cc: Use FNT_MAXCHAR instead of literal 256.

git-svn-id: file:///home/survex-svn/survex/trunk@3661 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rf04ae51 r9062bef  
     1Mon Sep 19 23:15:46 GMT 2011  Olly Betts <olly@survex.com>
     2
     3        * src/fnt.cc: Use FNT_MAXCHAR instead of literal 256.
     4
    15Mon Sep 19 21:58:50 GMT 2011  Olly Betts <olly@survex.com>
    26
  • src/fnt.cc

    rf04ae51 r9062bef  
    44//  Draw text using texture mapped fonts.
    55//
    6 //  Copyright (C) 2003,2004,2006,2010 Olly Betts
     6//  Copyright (C) 2003,2004,2006,2010,2011 Olly Betts
    77//
    88//     Based on code from PLIB - http://plib.sourceforge.net
     
    9696    /* int unknown = */ fnt_readInt(fd);
    9797    int num_glyphs  = fnt_readInt(fd);
    98     list_base = glGenLists(256 - 32) - 32;
     98    list_base = glGenLists(FNT_MAXCHAR - 32) - 32;
    9999
    100100    int i, j;
Note: See TracChangeset for help on using the changeset viewer.