Minor formating fixes.
This commit is contained in:
parent
6f53b0c069
commit
4df668e68f
76 changed files with 121 additions and 121 deletions
|
|
@ -64,7 +64,7 @@ protected :
|
|||
unsigned int m_VBO;
|
||||
|
||||
RenderState m_state;
|
||||
|
||||
|
||||
unsigned short m_size;
|
||||
|
||||
ShaderProgram m_textShader;
|
||||
|
|
@ -73,4 +73,4 @@ protected :
|
|||
|
||||
} // namespace
|
||||
|
||||
#endif /* SPECTRE_BATCH_RENDERER2D_H */
|
||||
#endif /* SPECTRE_BATCH_RENDERER2D_H */
|
||||
|
|
|
|||
|
|
@ -26,4 +26,4 @@ protected :
|
|||
|
||||
} // namespace
|
||||
|
||||
#endif /* SPECTRE_DEFAULT_RENDERER2D_H */
|
||||
#endif /* SPECTRE_DEFAULT_RENDERER2D_H */
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@
|
|||
|
||||
#include <Spectre/Graphics/GL/glad.h>
|
||||
|
||||
#endif /* SPECTRE_OPENGL_H */
|
||||
#endif /* SPECTRE_OPENGL_H */
|
||||
|
|
|
|||
|
|
@ -32,4 +32,4 @@ protected :
|
|||
|
||||
} // namespace sp
|
||||
|
||||
#endif /* SPECTRE_GRAPHICS_RENDERER2D_H */
|
||||
#endif /* SPECTRE_GRAPHICS_RENDERER2D_H */
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ public :
|
|||
|
||||
protected :
|
||||
|
||||
// Compile the shader.
|
||||
// Compile the shader.
|
||||
// Returns true if the shader compiled without errors. false otherwise.
|
||||
bool compile();
|
||||
|
||||
|
|
@ -55,4 +55,4 @@ protected :
|
|||
|
||||
} // namespace sp
|
||||
|
||||
#endif /* SPECTRE_GRAPHICS_SHADER_H */
|
||||
#endif /* SPECTRE_GRAPHICS_SHADER_H */
|
||||
|
|
|
|||
|
|
@ -41,11 +41,11 @@ public :
|
|||
|
||||
// Returns true if the program was linked successfully
|
||||
bool isLinked() const;
|
||||
|
||||
// Enable this shader
|
||||
|
||||
// Enable this shader
|
||||
// All shader operations after this call will affect this shader.
|
||||
void enable() const;
|
||||
|
||||
|
||||
// Disable this shader
|
||||
// Operations will no longer affect this shader after this call.
|
||||
void disable() const;
|
||||
|
|
|
|||
|
|
@ -60,4 +60,4 @@ private :
|
|||
|
||||
} // namespace sp
|
||||
|
||||
#endif /* SPECTRE_GRAPHICS_TRANSFORMABLE_H */
|
||||
#endif /* SPECTRE_GRAPHICS_TRANSFORMABLE_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue