From 46df458336551ff04d58476ffe81e84f5d50cffd Mon Sep 17 00:00:00 2001
From: Robert Menzel <menzel@informatik.rwth-aachen.de>
Date: Tue, 27 Sep 2011 17:04:53 +0200
Subject: [PATCH] fixed bug in wrap methods

---
 include/ACGL/OpenGL/Controller/TextureControl.hh        | 2 +-
 include/ACGL/OpenGL/Controller/TextureControlFileJPG.hh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/ACGL/OpenGL/Controller/TextureControl.hh b/include/ACGL/OpenGL/Controller/TextureControl.hh
index 902b8389..7f677d50 100644
--- a/include/ACGL/OpenGL/Controller/TextureControl.hh
+++ b/include/ACGL/OpenGL/Controller/TextureControl.hh
@@ -55,7 +55,7 @@ public:
     {
         mWrapS = _wrapS;
         mWrapT = _wrapT;
-        mWrapT = _wrapR;
+        mWrapR = _wrapR;
         return *this;
     }
 
diff --git a/include/ACGL/OpenGL/Controller/TextureControlFileJPG.hh b/include/ACGL/OpenGL/Controller/TextureControlFileJPG.hh
index 12b0fb36..cd357faf 100644
--- a/include/ACGL/OpenGL/Controller/TextureControlFileJPG.hh
+++ b/include/ACGL/OpenGL/Controller/TextureControlFileJPG.hh
@@ -42,7 +42,7 @@ public:
     {
         mWrapS = _wrapS;
         mWrapT = _wrapT;
-        mWrapT = _wrapR;
+        mWrapR = _wrapR;
         return *this;
     }
 
-- 
GitLab