15 * You should have received a copy of the GNU General Public License |
15 * You should have received a copy of the GNU General Public License |
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 */ |
17 */ |
18 |
18 |
19 #include <QMessageBox> |
19 #include <QMessageBox> |
20 #include "gl/compiler.h" |
20 #include "src/documentmanager.h" |
21 #include "documentmanager.h" |
21 #include "src/invert.h" |
22 #include "invert.h" |
22 #include "src/ring.h" |
23 #include "ring.h" |
23 #include "src/gl/compiler.h" |
24 |
24 |
25 constexpr char VERTEX_SHADER_SOURCE[] = R"( |
25 constexpr char VERTEX_SHADER_SOURCE[] = R"( |
26 #version 330 core |
26 #version 330 core |
27 |
27 |
28 layout(location=0) in vec3 position; |
28 layout(location=0) in vec3 position; |