From: Derek Foreman Date: Thu, 29 May 2003 22:47:27 +0000 (+0000) Subject: clamp, don't repeat. X-Git-Tag: gl2~23 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=870752ed5c27096fa7c23df2dc210b178c0c7dae;p=dana%2Fopenbox.git clamp, don't repeat. --- diff --git a/glft/render.c b/glft/render.c index e0157761..3180d5f2 100644 --- a/glft/render.c +++ b/glft/render.c @@ -32,8 +32,8 @@ void GlftRenderGlyph(FT_Face face, struct GlftGlyph *g) slot->bitmap.width); glBindTexture(GL_TEXTURE_2D, g->tnum); glPixelStorei(GL_UNPACK_ALIGNMENT, 1); - glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); - glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); + glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP); + glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP); glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE);