mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
shader fixup
This commit is contained in:
parent
25d2f6242e
commit
30eda241a8
2
glhr.cpp
2
glhr.cpp
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user