[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/libs/kgllib/core/kgllib
From:       Rivo Laks <rivolaks () hot ! ee>
Date:       2008-09-01 15:16:19
Message-ID: 1220282179.149642.24889.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 855839 by rivol:

Add implementation of Texture(QPixmap) ctor

 M  +5 -0      texture.cpp  


--- trunk/playground/libs/kgllib/core/kgllib/texture.cpp #855838:855839
@@ -236,6 +236,11 @@
     mValid = init(img, filter);
 }
 
+Texture::Texture(const QPixmap& pix, GLenum filter)
+{
+    mValid = init(pix.toImage(), filter);
+}
+
 Texture::Texture(const QString& filename, GLenum filter) : TextureBase(filename)
 {
     mValid = init(filename, filter);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic