aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/ULyrics.pas
diff options
context:
space:
mode:
authorb1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-12-16 11:14:07 +0000
committerb1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-12-16 11:14:07 +0000
commit179f9ad2ecad73b3db1d4c9113547d8ceccc9b48 (patch)
treeeeeb917016878c21d260c2fd2ce2211a452d4787 /Game/Code/Classes/ULyrics.pas
parent9f4eaeef7d2100486af9ecbdd1e94e3bd10df3f8 (diff)
downloadusdx-179f9ad2ecad73b3db1d4c9113547d8ceccc9b48.tar.gz
usdx-179f9ad2ecad73b3db1d4c9113547d8ceccc9b48.tar.xz
usdx-179f9ad2ecad73b3db1d4c9113547d8ceccc9b48.zip
added some texture parameters (hope this fixes the "strich" problem that mog experienced
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@705 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes/ULyrics.pas')
-rw-r--r--Game/Code/Classes/ULyrics.pas3
1 files changed, 3 insertions, 0 deletions
diff --git a/Game/Code/Classes/ULyrics.pas b/Game/Code/Classes/ULyrics.pas
index 8fd1f3ec..c6b42940 100644
--- a/Game/Code/Classes/ULyrics.pas
+++ b/Game/Code/Classes/ULyrics.pas
@@ -220,6 +220,9 @@ var
//Get Memory
glTexImage2D(GL_TEXTURE_2D, 0, 4, 1024, 64, 0, GL_RGBA, GL_UNSIGNED_BYTE, pTexData);
+ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
+ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
+
if UseLinearFilter then
begin
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);