Show
Ignore:
Timestamp:
04/01/15 11:37:53 (13 hours ago)
Author:
robert
Message:

From Lionel Largarde, "fix for the Image::computeNumberOfMipmapLevels method. The method did use the float version of the log function and the / operator.
It works for most of the input sizes, but fails for 8192, 32768...
For 8192, the method returns 13 instead of 14."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/OpenThreads/CMakeLists.txt

    r12558 r13482  
    8282 
    8383# Add support for using Qt threads 
    84 IF(QT4_FOUND) 
     84IF(QT4_FOUND OR Qt5Widgets_FOUND) 
    8585    OPTION(BUILD_OPENTHREADS_WITH_QT "Build OpenThreads with Qt threading support." OFF) 
    8686ENDIF() 
     
    8989IF(ANDROID) 
    9090    SUBDIRS(pthreads) 
    91 ELSEIF(QT4_FOUND AND BUILD_OPENTHREADS_WITH_QT) 
     91ELSEIF((QT4_FOUND OR Qt5Widgets_FOUND) AND BUILD_OPENTHREADS_WITH_QT) 
    9292    SUBDIRS(qt) 
    9393ELSEIF(WIN32)