From 21438b7ca8862ef5b9f789e138efdbab15939a40 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Sun, 3 Jan 2016 19:41:52 +0000 Subject: fix compilation git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3177 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/base/UTexture.pas | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/base/UTexture.pas') diff --git a/src/base/UTexture.pas b/src/base/UTexture.pas index 6edcc46f..2da7625c 100644 --- a/src/base/UTexture.pas +++ b/src/base/UTexture.pas @@ -56,6 +56,8 @@ type ScaleW: real; // for dynamic scalling while leaving width constant ScaleH: real; // for dynamic scalling while leaving height constant Rot: real; // 0 - 2*pi + RightScale: real; // + LeftScale: real; // Int: real; // intensity ColR: real; ColG: real; @@ -311,6 +313,7 @@ begin glBindTexture(GL_TEXTURE_2D, ActTex); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); @@ -360,6 +363,9 @@ begin TexX2 := 1; TexY2 := 1; + RightScale := 1; + LeftScale := 1; + Name := Identifier; end; @@ -466,6 +472,9 @@ begin Result.TexX2 := 1; Result.TexY2 := 1; + Result.RightScale := 1; + Result.LeftScale := 1; + Result.Name := Name; end; -- cgit v1.2.3