Implemented CPU rendering for current ObjectTypes
[ipdf/code.git] / src / screen.h
index f2a98c2..c76a554 100644 (file)
@@ -59,7 +59,8 @@ namespace IPDF
 
                void ScreenShot(const char * filename) const;
                void RenderBMP(const char * filename) const;
 
                void ScreenShot(const char * filename) const;
                void RenderBMP(const char * filename) const;
-               void RenderPixels(int x, int y, int w, int h, void * pixels) const;
+               void RenderPixels(int x, int y, int w, int h, uint8_t * pixels) const;
+
 
                // Returns the CPU time (in seconds) it took to render the last completed frame.
                double GetLastFrameTimeCPU() const { return m_last_frame_time / SDL_GetPerformanceFrequency(); }
 
                // Returns the CPU time (in seconds) it took to render the last completed frame.
                double GetLastFrameTimeCPU() const { return m_last_frame_time / SDL_GetPerformanceFrequency(); }

UCC git Repository :: git.ucc.asn.au