Eiyeron Fulmincendii 10 vuotta sitten
vanhempi
commit
a6443a9830
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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);