[Libreoffice-commits] core.git: slideshow/source

Thorsten Behrens Thorsten.Behrens at CIB.de
Mon Nov 23 17:22:46 PST 2015


 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e5b3ec9683e4c5761633a1a3c4819a039e796b01
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Date:   Tue Nov 24 02:21:01 2015 +0100

    fix build: "warning C4305: truncation from 'double' to 'float'"
    
    Change-Id: Ied01ccf789877c15080797de3723588e09fa6c7c

diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx
index f1a595ef..c56e9c9 100644
--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx
+++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx
@@ -48,7 +48,7 @@ struct TransitionSettings
     TransitionSettings() :
         mbUseMipMapLeaving( true ),
         mbUseMipMapEntering( true ),
-        mnRequiredGLVersion( 2.1 )
+        mnRequiredGLVersion( 2.1f )
     {
     }
 


More information about the Libreoffice-commits mailing list