Whoops
authormalc <av1474@comtv.ru>
Sat, 2 Mar 2013 21:13:02 +0000 (3 01:13 +0400)
committermalc <av1474@comtv.ru>
Sat, 2 Mar 2013 21:13:02 +0000 (3 01:13 +0400)
link.c

diff --git a/link.c b/link.c
index 7801b8b..e4bb30b 100644 (file)
--- a/link.c
+++ b/link.c
@@ -2093,12 +2093,12 @@ static void highlightlinks (struct page *page, int xoff, int yoff)
 
             glTexCoord1i (0);
             glVertex2f (p3.x, p3.y);
-            glTexCoord1i (t);
+            glTexCoord1f (t);
             glVertex2f (p4.x, p4.y);
 
             glTexCoord1i (0);
             glVertex2f (p4.x, p4.y);
-            glTexCoord1i (s);
+            glTexCoord1f (s);
             glVertex2f (p1.x, p1.y);
         }
     }