summaryrefslogtreecommitdiff
path: root/graphics/hugin/files/patch-src_hugin1_hugin_TextureManager.cpp
blob: 9eff70e8520442f8f7af8ba974518a0cfe8dad18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/hugin1/hugin/TextureManager.cpp.orig	2009-08-21 14:24:25.000000000 +0300
+++ src/hugin1/hugin/TextureManager.cpp	2009-08-21 14:24:30.000000000 +0300
@@ -52,6 +52,8 @@
 #include <GL/glu.h>
 #endif
 
+#define log2(x)	(log(x) / log(2))
+
 TextureManager::TextureManager(PT::Panorama *pano, ViewState *view_state_in)
 {
     m_pano = pano;