From 63bf3627a3e2b4182e5541abeac387b7ffebb29c Mon Sep 17 00:00:00 2001 From: codeanticode Date: Sun, 19 Jun 2011 16:13:00 +0000 Subject: [PATCH] Not using CLAMP in PFontTexture --- .../libraries/opengl/src/processing/opengl/PFontTexture.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/java/libraries/opengl/src/processing/opengl/PFontTexture.java b/java/libraries/opengl/src/processing/opengl/PFontTexture.java index f645333ab..1849b55f7 100644 --- a/java/libraries/opengl/src/processing/opengl/PFontTexture.java +++ b/java/libraries/opengl/src/processing/opengl/PFontTexture.java @@ -98,10 +98,7 @@ class PFontTexture implements PConstants { resize = false; } - PTexture.Parameters par = new PTexture.Parameters(ARGB, BILINEAR); - par.wrapU = CLAMP; - par.wrapV = CLAMP; - PTexture tex = new PTexture(parent, w, h, par); + PTexture tex = new PTexture(parent, w, h, new PTexture.Parameters(ARGB, BILINEAR)); if (textures == null) { textures = new PTexture[1];