@@ -111,22 +111,22 @@ int main() {
111111
112112 const float vertices[] = {
113113 -0 .5f , -0 .5f , 0 .0f , // Bottom Left
114- 0 .5f , -0 .5f , 0 .0f , // Bottom Right
115- 0 .0f , 0 .5f , 0 .0f // Top Center
114+ 0 .5f , -0 .5f , 0 .0f , // Bottom Right
115+ 0 .0f , 0 .5f , 0 .0f // Top Center
116116 };
117117
118118 const float texCoords[] = {
119119 -0 .5f , -0 .5f , // Bottom Left
120- 0 .5f , -0 .5f , // Bottom Right
121- 0 .0f , 0 .5f , // Top Center
120+ 0 .5f , -0 .5f , // Bottom Right
121+ 0 .0f , 0 .5f , // Top Center
122122 };
123123
124124 const unsigned int indices[] = {
125125 0 , 1 , 2 , // First Triangle
126126 };
127127
128- Buffer::Attribute a0 (0 , 3 , GL_FLOAT, GL_FALSE, 3 * sizeof (float ));
129- Buffer::Attribute a1 (1 , 2 , GL_FLOAT, GL_FALSE, 2 * sizeof (float ));
128+ Buffer::Attribute a0 (0 , 3 , GL_FLOAT, GL_FALSE, 3 * sizeof (float ));
129+ Buffer::Attribute a1 (1 , 2 , GL_FLOAT, GL_FALSE, 2 * sizeof (float ));
130130
131131 BufferArray array (vector<vector<Buffer::Attribute>> {{a0}, {a1}});
132132 array.bind ();
@@ -135,7 +135,7 @@ int main() {
135135 array.bufferElements (sizeof (indices), indices);
136136 array.unbind ();
137137
138- Quad quad ({0 , 0 }, {1 , 1 });
138+ Quad quad ({0 , 0 }, {1 , 1 });
139139
140140 // Needed because FrameBuffer is storing size for future blit to default
141141 FrameBuffer::getDefault ().resize (uvec2 (width, height));
@@ -146,14 +146,14 @@ int main() {
146146 fbo.attach (rbo, GL_DEPTH_STENCIL_ATTACHMENT);
147147
148148 Texture::Ptr tex2 = make_shared<Texture>(uvec2 (width, height),
149- Texture::RGBA,
150- Texture::RGBA,
151- GL_FLOAT,
152- 0 ,
153- Texture::Linear,
154- Texture::Linear,
155- Texture::Clamp,
156- false );
149+ Texture::RGBA,
150+ Texture::RGBA,
151+ GL_FLOAT,
152+ 0 ,
153+ Texture::Linear,
154+ Texture::Linear,
155+ Texture::Clamp,
156+ false );
157157 fbo.attach (tex2, GL_COLOR_ATTACHMENT0);
158158
159159 if (glCheckFramebufferStatus (GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) {
0 commit comments