C++11 lambdas - are they really worth it?
[ipdf/code.git] / src / screen.h
index c76a554..9666c32 100644 (file)
@@ -62,6 +62,7 @@ namespace IPDF
                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 GPU time (in seconds) it took to render the last completed frame.
@@ -84,6 +85,7 @@ namespace IPDF
                SDL_Window *m_window;
                SDL_GLContext m_gl_context;
                ShaderProgram m_texture_prog;
+               ShaderProgram m_font_prog;
                GLint m_colour_uniform_location;
                GraphicsBuffer m_viewport_ubo;
                stbtt_bakedchar m_debug_font_rects[96];

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