Eiyeron Fulmincendii hace 10 años
padre
commit
a6443a9830
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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);