소스 검색

Minor cleaning.

Eiyeron Fulmincendii 9 년 전
부모
커밋
0b116a8726
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/render/Pixel.cpp

+ 2 - 2
src/render/Pixel.cpp

@@ -31,8 +31,8 @@ bool Pixel::operator==(const Pixel &col)
     return value == col.value;
 }
 
-#define CONST_COLOR(color, r, g, b) \
-    const WalrusRPG::Graphics::Pixel WalrusRPG::Graphics::color(r, g, b)
+#define CONST_COLOR(COLOR, r, g, b) const Pixel WalrusRPG::Graphics::COLOR(r, g, b)
+
 CONST_COLOR(Black, 0, 0, 0);
 CONST_COLOR(DarkGray, 64, 64, 64);
 CONST_COLOR(Gray, 128, 128, 128);