瀏覽代碼

name fixing

Eiyeron Fulmincendii 10 年之前
父節點
當前提交
a6443a9830
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      platform/include/Graphics.h
  2. 1 1
      platform/nspire/Graphics.cpp

+ 1 - 1
platform/include/Graphics.h

@@ -47,7 +47,7 @@ namespace WalrusRPG
         /*
          * Draws a pixel on the screen.
          */
-        void pixel(uint16_t x, uint16_t y, const WalrusRPG::Graphics::Pixel &color);
+        void put_pixel(uint16_t x, uint16_t y, const WalrusRPG::Graphics::Pixel &color);
     }
 }
 

+ 1 - 1
platform/nspire/Graphics.cpp

@@ -36,7 +36,7 @@ void GRAPHICS::fill(const WalrusRPG::Graphics::Pixel &color)
     CXfb::buffer_fill(color);
 }
 
-void GRAPHICS::pixel(uint16_t x, uint16_t y, const WalrusRPG::Graphics::Pixel &color)
+void GRAPHICS::put_pixel(uint16_t x, uint16_t y, const WalrusRPG::Graphics::Pixel &color)
 
 {
     CXfb::draw_pixel(x, y, color.value);