소스 검색

Fix GCC build.

Lasse Öörni 12 년 전
부모
커밋
720ff4c3b8
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      Source/Engine/Graphics/Drawable.h

+ 3 - 3
Source/Engine/Graphics/Drawable.h

@@ -236,7 +236,7 @@ public:
     float GetMaxZ() const { return maxZ_; }
     float GetMaxZ() const { return maxZ_; }
     
     
     // Clear the frame's light list.
     // Clear the frame's light list.
-    void Drawable::ClearLights()
+    void ClearLights()
     {
     {
         basePassFlags_ = 0;
         basePassFlags_ = 0;
         firstLight_ = 0;
         firstLight_ = 0;
@@ -245,7 +245,7 @@ public:
     }
     }
 
 
     // Add a per-pixel light affecting the object this frame.
     // Add a per-pixel light affecting the object this frame.
-    void Drawable::AddLight(Light* light)
+    void AddLight(Light* light)
     {
     {
         if (lights_.Empty())
         if (lights_.Empty())
             firstLight_ = light;
             firstLight_ = light;
@@ -253,7 +253,7 @@ public:
     }
     }
 
 
     // Add a per-vertex light affecting the object this frame.
     // Add a per-vertex light affecting the object this frame.
-    void Drawable::AddVertexLight(Light* light)
+    void AddVertexLight(Light* light)
     {
     {
         vertexLights_.Push(light);
         vertexLights_.Push(light);
     }
     }