Commit 70ab46fc authored by Jan Möbius's avatar Jan Möbius
Browse files

Added copy constructor to uniform pool. refs #1746

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17556 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 7878c10f
......@@ -59,11 +59,16 @@ namespace GLSL {
// Uniform Pool
//--------------------------------------------------------------------------
/** \brief Constructor
*/
UniformPool::UniformPool(){
}
UniformPool::UniformPool(const UniformPool& _pool) {
addPool(_pool);
}
/** \brief Destructor
*/
UniformPool::~UniformPool(){
......
......@@ -64,7 +64,14 @@ namespace GLSL {
class ACGDLLEXPORT UniformPool {
public:
/** \brief Constructor
*/
UniformPool();
/** \brief Copy Constructor
*/
UniformPool(const UniformPool& _pool);
virtual ~UniformPool();
void bind(PtrProgram _prog) const;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment