X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fscreen.h;fp=src%2Fscreen.h;h=f2a98c2abff72c37b4d38a7c85f83cff83addb67;hp=f66c7aa762e140c5d5d4b7798155b982f9945a2f;hb=f8ef964f021d1d6da6ea46bbb1fe8f0250a5be8c;hpb=5624689656381779cb43341de284fa928e460e43 diff --git a/src/screen.h b/src/screen.h index f66c7aa..f2a98c2 100644 --- a/src/screen.h +++ b/src/screen.h @@ -59,6 +59,7 @@ namespace IPDF 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; // Returns the CPU time (in seconds) it took to render the last completed frame. double GetLastFrameTimeCPU() const { return m_last_frame_time / SDL_GetPerformanceFrequency(); }