GLT_ATTRIBUTE_COLOR was not declared in this scope

<div class=“ubbcode-block”><div class=“ubbcode-header”>Click to reveal… <input type=“button” class=“form-button” value=“Show me!” onclick=“toggle_spoiler(this, ‘Yikes, my eyes!’, ‘Show me!’)” />]<div style=“display: none;”>
I’ve been going through the SuperBible 5th edition trying to get an understanding of how these shaders work and everything was going fine and compiling until I added a line of code including GLT_ATTRIBUTE_COLOR and GLT_ATTRIBUTE_VERTEX.

Everything else that I have incorporated for setting up, compiling, and linking shaders works but for some reason I get:

'GLT_ATTRIBUTE_COLOR' was not declared in this scope
'GLT_ATTRIBUTE_VERTEX' was not declared in this scope

Do I need something other than GL in my linker list?

EDIT: Scratch that, I finally found out that it’s not actually part of OpenGL, rather part of an enumeration that I somehow completely overlooked.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.