X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fscreen.h;h=d918dd1afc2a9fd0b604b46468939d1e4c247c7f;hp=ddcf8cace42c35083c763c874250fcd2009c7a63;hb=a851cf197844a2eb15fd5ee2c350ee296e415dca;hpb=a8fdccab8e5f8beae3ad1f7c55705017197368f4 diff --git a/src/screen.h b/src/screen.h index ddcf8ca..d918dd1 100644 --- a/src/screen.h +++ b/src/screen.h @@ -7,6 +7,7 @@ #include "stb_truetype.h" #include "graphicsbuffer.h" +#include "shaderprogram.h" namespace IPDF { @@ -70,6 +71,9 @@ namespace IPDF int m_viewport_height; SDL_Window *m_window; SDL_GLContext m_gl_context; + ShaderProgram m_texture_prog; + GLint m_colour_uniform_location; + GraphicsBuffer m_viewport_ubo; stbtt_bakedchar m_debug_font_rects[96]; unsigned int m_debug_font_atlas; float m_debug_font_x;