aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/glslprogram.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-12-23 01:37:09 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-12-23 01:40:47 +0000
commitddd26ed83d3ac0335562f762ced273a1d62bd959 (patch)
treea697de87564846e784fd1256d71c94270d8ec51d /yage/core/glslprogram.h
parent0ac42fb77773e15b13f1ede01dd1efd920a8fb9b (diff)
downloadYAGE-ddd26ed83d3ac0335562f762ced273a1d62bd959.tar.gz
YAGE-ddd26ed83d3ac0335562f762ced273a1d62bd959.zip
[Style] Updated style in files.
Diffstat (limited to 'yage/core/glslprogram.h')
-rw-r--r--yage/core/glslprogram.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/yage/core/glslprogram.h b/yage/core/glslprogram.h
index 9e49d329..0617bc1e 100644
--- a/yage/core/glslprogram.h
+++ b/yage/core/glslprogram.h
@@ -19,9 +19,9 @@ namespace yage
class GlslProgram
{
public:
- GlslProgram() = default;
+ GlslProgram() = default;
GlslProgram(const GlslProgram &) = delete;
- GlslProgram(GlslProgram &&) = delete;
+ GlslProgram(GlslProgram &&) = delete;
~GlslProgram();
GlslProgram &operator=(const GlslProgram &) = delete;
@@ -42,10 +42,10 @@ public:
private:
/// compiled shader program id
- GLuint program_id_ = 0;
- GLuint vertex_shader_id_ = 0;
+ GLuint program_id_ = 0;
+ GLuint vertex_shader_id_ = 0;
GLuint fragment_shader_id_ = 0;
- int attribute_index_ = 0;
+ int attribute_index_ = 0;
/// compiles one shader
void compileShader(GLuint shader, const std::string &shaderContent);