diff options
author | Rob Haarsma <phaseIV@zonnet.nl> | 2005-01-21 17:43:21 +0300 |
---|---|---|
committer | Rob Haarsma <phaseIV@zonnet.nl> | 2005-01-21 17:43:21 +0300 |
commit | 465b15eb695ef96534b008199fa90af0936febde (patch) | |
tree | a66a234969d79716cd31d9bbca4dec2e1fd230a8 /extern/bFTGL/src | |
parent | 64ef688695f0cae6c15ee3baf52e6be99191f221 (diff) |
Modified FTGL for proper texturefont support.
Also fixed msvc6 (release only) projectfile to build and output correctly.
Diffstat (limited to 'extern/bFTGL/src')
-rwxr-xr-x | extern/bFTGL/src/FTGLTextureFont.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extern/bFTGL/src/FTGLTextureFont.cpp b/extern/bFTGL/src/FTGLTextureFont.cpp index aa6b645d3ab..6be32a2fb3b 100755 --- a/extern/bFTGL/src/FTGLTextureFont.cpp +++ b/extern/bFTGL/src/FTGLTextureFont.cpp @@ -128,8 +128,8 @@ GLuint FTGLTextureFont::CreateTexture() glBindTexture( GL_TEXTURE_2D, textID); glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP); glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP); - glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); - glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); + glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); + glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); glTexImage2D( GL_TEXTURE_2D, 0, GL_ALPHA, textureWidth, textureHeight, 0, GL_ALPHA, GL_UNSIGNED_BYTE, textureMemory); |