shader fixup

This commit is contained in:
Zeno Rogue 2019-10-21 22:40:56 +02:00
parent 25d2f6242e
commit 30eda241a8
2 changed files with 1 additions and 2 deletions

View File

@ -229,8 +229,6 @@ EX void projection_multiply(const glmatrix& m) {
EX void init();
// https://www.opengl.org/sdk/docs/tutorials/ClockworkCoders/attributes.php
#if HDR
struct GLprogram : std::enable_shared_from_this<GLprogram> {
GLuint _program;

View File

@ -28,6 +28,7 @@ constexpr flagtype SF_ZFOG = 65536;
#if HDR
/* standard attribute bindings */
/* taken from: https://www.opengl.org/sdk/docs/tutorials/ClockworkCoders/attributes.php */
constexpr int aPosition = 0;
constexpr int aColor = 3;
constexpr int aTexture = 8;