X-Git-Url: https://git.sur5r.net/?p=fstl;a=blobdiff_plain;f=src%2Fbackdrop.h;fp=src%2Fbackdrop.h;h=95ae48bd59d7e5b4294419812f30e7dcec08ba63;hp=a2398c82ac546096997edd113a86b0601623c780;hb=0da9fdf2b9623665a991990e57485a007645eba6;hpb=5dd213695da2eb22219ac5143aa8b5cfe7c89559 diff --git a/src/backdrop.h b/src/backdrop.h index a2398c8..95ae48b 100644 --- a/src/backdrop.h +++ b/src/backdrop.h @@ -1,18 +1,18 @@ #ifndef BACKDROP_H #define BACKDROP_H -#include -#include -#include +#include +#include +#include -class Backdrop : protected QGLFunctions +class Backdrop : protected QOpenGLFunctions { public: Backdrop(); void draw(); private: - QGLShaderProgram shader; - QGLBuffer vertices; + QOpenGLShaderProgram shader; + QOpenGLBuffer vertices; }; #endif // BACKDROP_H