A multi-platform Atari 2600 Emulator
Go to file
stephena 505a38057d Changed the font handling in the SDL OpenGL port. Previously, all 256
characters were stored in one texture, and pieces of that were carved
out when a particular character was needed.  That approach left visual
artifacts in GL_LINEAR mode because of the way OpenGL divides up
textures (clamped to [0,1]).

The new approach is to use 256 8x8 textures, and draw them separately.
It actually makes the drawText() and drawChar() methods much shorter.
This may be slightly slower than before, but since large numbers of
characters are only ever drawn when needed (versus at the current
framerate), I don't think the speed difference will be noticed.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@203 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2003-11-12 15:12:06 +00:00
CVSROOT Add syncmail as a admin file to checkout. 2001-12-27 20:02:13 +00:00
stella Changed the font handling in the SDL OpenGL port. Previously, all 256 2003-11-12 15:12:06 +00:00