[colobot] 11/145: Removed unused members of CNullDevice

Didier Raboud odyx at moszumanska.debian.org
Mon Jul 11 12:56:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository colobot.

commit adf20f58d41565780fda4194fa926aa1a9358524
Author: krzys-h <krzys_h at interia.pl>
Date:   Sat Mar 26 19:49:24 2016 +0100

    Removed unused members of CNullDevice
---
 src/graphics/core/nulldevice.cpp |  3 ---
 src/graphics/core/nulldevice.h   | 11 -----------
 2 files changed, 14 deletions(-)

diff --git a/src/graphics/core/nulldevice.cpp b/src/graphics/core/nulldevice.cpp
index 5ab4ec0..ad483ed 100644
--- a/src/graphics/core/nulldevice.cpp
+++ b/src/graphics/core/nulldevice.cpp
@@ -27,9 +27,6 @@ namespace Gfx
 
 CNullDevice::CNullDevice()
 {
-    m_matrix = Math::Matrix();
-    m_material = Material();
-    m_light = Light();
 }
 
 CNullDevice::~CNullDevice()
diff --git a/src/graphics/core/nulldevice.h b/src/graphics/core/nulldevice.h
index 68f2eff..3a78ea8 100644
--- a/src/graphics/core/nulldevice.h
+++ b/src/graphics/core/nulldevice.h
@@ -17,11 +17,6 @@
  * along with this program. If not, see http://gnu.org/licenses
  */
 
-/**
- * \file graphics/core/device.h
- * \brief Abstract graphics device - CDevice class and related structs/enums
- */
-
 #pragma once
 
 #include "graphics/core/device.h"
@@ -38,7 +33,6 @@ namespace Gfx
 /**
  * \class CNullDevice
  * \brief Device implementation that doesn't render anything
- *
  */
 class CNullDevice : public CDevice
 {
@@ -160,11 +154,6 @@ public:
     int GetMaxTextureSize() override;
 
     bool IsFramebufferSupported() override;
-
-private:
-    Math::Matrix m_matrix;
-    Material     m_material;
-    Light        m_light;
 };
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git



More information about the Pkg-games-commits mailing list