浏览代码

Removed unnecessary OBJECT macro from ShaderVariation.

Lasse Öörni 14 年之前
父节点
当前提交
887cd80dcb
共有 2 个文件被更改,包括 1 次插入5 次删除
  1. 0 2
      Engine/Graphics/ShaderVariation.cpp
  2. 1 3
      Engine/Graphics/ShaderVariation.h

+ 0 - 2
Engine/Graphics/ShaderVariation.cpp

@@ -31,8 +31,6 @@
 
 #include "DebugNew.h"
 
-OBJECTTYPESTATIC(ShaderVariation);
-
 ShaderVariation::ShaderVariation(Shader* shader, ShaderType type, bool isSM3) :
     GPUObject(shader->GetSubsystem<Graphics>()),
     shader_(shader),

+ 1 - 3
Engine/Graphics/ShaderVariation.h

@@ -58,11 +58,9 @@
 
 class Shader;
 
-/// Shader program on the GPU
+/// Vertex or pixel shader on the GPU
 class ShaderVariation : public RefCounted, public GPUObject
 {
-    OBJECT(ShaderVariation);
-    
 public:
     /// Construct
     ShaderVariation(Shader* shader, ShaderType type, bool isSM3);