Changeset 381bf27 in git


Ignore:
Timestamp:
15/06/10 09:04:30 (9 years ago)
Author:
Olly Betts <olly@…>
Branches:
add-show-splays, line_contents, master, stereo, svn/github/master, svn/origin/master, svn/survex-1_1, svn/tags/1.1.14, svn/tags/1.1.15, svn/tags/1.1.16, 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/tags/v1_1_13, svn/trunk, travis-osx
Children:
5e3879f
Parents:
c57bd20
Message:

src/gla-gl.cc: Use GL_BLEND rather than GL_ALPHA to work better with
anti-aliased TXF files.

git-svn-id: file:///home/survex-svn/survex/branches/survex-1_1@3415 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rc57bd20 r381bf27  
     1Tue Jun 15 08:03:53 GMT 2010  Olly Betts <olly@survex.com>
     2
     3        * src/gla-gl.cc: Use GL_BLEND rather than GL_ALPHA to work better with
     4          anti-aliased TXF files.
     5
    16Tue Jun 15 07:59:09 GMT 2010  Olly Betts <olly@survex.com>
    27
  • src/gla-gl.cc

    rc57bd20 r381bf27  
    814814#ifdef USE_FNT
    815815    glPushAttrib(GL_ENABLE_BIT);
    816     glEnable(GL_ALPHA_TEST);
     816    glDisable(GL_ALPHA_TEST);
     817    glEnable(GL_BLEND);
     818    glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
    817819    glEnable(GL_TEXTURE_2D);
    818820    glDisable(GL_DEPTH_TEST);
Note: See TracChangeset for help on using the changeset viewer.