From 179f9ad2ecad73b3db1d4c9113547d8ceccc9b48 Mon Sep 17 00:00:00 2001 From: b1indy Date: Sun, 16 Dec 2007 11:14:07 +0000 Subject: 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 --- Game/Code/Classes/ULyrics.pas | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Game') 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); -- cgit v1.2.3