X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fscreen.h;h=d918dd1afc2a9fd0b604b46468939d1e4c247c7f;hp=ddcf8cace42c35083c763c874250fcd2009c7a63;hb=bf0f1cab25fa460ad4716ca60c11abab78a52cbd;hpb=bdda0103bf26d215d41093316ca0e15cd67fec1d 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;