Skip to content

Commit 35cd0db

Browse files
committed
Typo; fixes #36
1 parent 91f98ea commit 35cd0db

File tree

22 files changed

+30
-30
lines changed

22 files changed

+30
-30
lines changed

common/text2D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void printText2D(const char * text, int x, int y, int size){
8484
// Bind texture
8585
glActiveTexture(GL_TEXTURE0);
8686
glBindTexture(GL_TEXTURE_2D, Text2DTextureID);
87-
// Set our "myTextureSampler" sampler to user Texture Unit 0
87+
// Set our "myTextureSampler" sampler to use Texture Unit 0
8888
glUniform1i(Text2DUniformID, 0);
8989

9090
// 1rst attribute buffer : vertices

misc05_picking/misc05_picking_BulletPhysics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ int main( void )
368368
// Bind our texture in Texture Unit 0
369369
glActiveTexture(GL_TEXTURE0);
370370
glBindTexture(GL_TEXTURE_2D, Texture);
371-
// Set our "myTextureSampler" sampler to user Texture Unit 0
371+
// Set our "myTextureSampler" sampler to use Texture Unit 0
372372
glUniform1i(TextureID, 0);
373373

374374
// 1rst attribute buffer : vertices

misc05_picking/misc05_picking_custom.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ int main( void )
209209
glfwWindowHint(GLFW_SAMPLES, 4);
210210
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
211211
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
212-
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); // To make MacOS happy; should not be needed
212+
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); // To make MacOS happy; should not be needed
213213
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
214214

215215
// Open a window and create its OpenGL context
@@ -440,7 +440,7 @@ int main( void )
440440
// Bind our texture in Texture Unit 0
441441
glActiveTexture(GL_TEXTURE0);
442442
glBindTexture(GL_TEXTURE_2D, Texture);
443-
// Set our "myTextureSampler" sampler to user Texture Unit 0
443+
// Set our "myTextureSampler" sampler to use Texture Unit 0
444444
glUniform1i(TextureID, 0);
445445

446446
// 1rst attribute buffer : vertices

misc05_picking/misc05_picking_slow_easy.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ int main( void )
4040
glfwWindowHint(GLFW_SAMPLES, 4);
4141
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
4242
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
43-
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); // To make MacOS happy; should not be needed
43+
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); // To make MacOS happy; should not be needed
4444
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
4545

4646
// Open a window and create its OpenGL context
@@ -321,7 +321,7 @@ int main( void )
321321
// Bind our texture in Texture Unit 0
322322
glActiveTexture(GL_TEXTURE0);
323323
glBindTexture(GL_TEXTURE_2D, Texture);
324-
// Set our "myTextureSampler" sampler to user Texture Unit 0
324+
// Set our "myTextureSampler" sampler to use Texture Unit 0
325325
glUniform1i(TextureID, 0);
326326

327327
// 1rst attribute buffer : vertices

tutorial05_textured_cube/tutorial05.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ int main( void )
195195
// Bind our texture in Texture Unit 0
196196
glActiveTexture(GL_TEXTURE0);
197197
glBindTexture(GL_TEXTURE_2D, Texture);
198-
// Set our "myTextureSampler" sampler to user Texture Unit 0
198+
// Set our "myTextureSampler" sampler to use Texture Unit 0
199199
glUniform1i(TextureID, 0);
200200

201201
// 1rst attribute buffer : vertices

tutorial06_keyboard_and_mouse/tutorial06.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ int main( void )
202202
// Bind our texture in Texture Unit 0
203203
glActiveTexture(GL_TEXTURE0);
204204
glBindTexture(GL_TEXTURE_2D, Texture);
205-
// Set our "myTextureSampler" sampler to user Texture Unit 0
205+
// Set our "myTextureSampler" sampler to use Texture Unit 0
206206
glUniform1i(TextureID, 0);
207207

208208
// 1rst attribute buffer : vertices

tutorial07_model_loading/tutorial07.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ int main( void )
131131
// Bind our texture in Texture Unit 0
132132
glActiveTexture(GL_TEXTURE0);
133133
glBindTexture(GL_TEXTURE_2D, Texture);
134-
// Set our "myTextureSampler" sampler to user Texture Unit 0
134+
// Set our "myTextureSampler" sampler to use Texture Unit 0
135135
glUniform1i(TextureID, 0);
136136

137137
// 1rst attribute buffer : vertices

tutorial08_basic_shading/tutorial08.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ int main( void )
148148
// Bind our texture in Texture Unit 0
149149
glActiveTexture(GL_TEXTURE0);
150150
glBindTexture(GL_TEXTURE_2D, Texture);
151-
// Set our "myTextureSampler" sampler to user Texture Unit 0
151+
// Set our "myTextureSampler" sampler to use Texture Unit 0
152152
glUniform1i(TextureID, 0);
153153

154154
// 1rst attribute buffer : vertices

tutorial09_vbo_indexing/tutorial09.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ int main( void )
174174
// Bind our texture in Texture Unit 0
175175
glActiveTexture(GL_TEXTURE0);
176176
glBindTexture(GL_TEXTURE_2D, Texture);
177-
// Set our "myTextureSampler" sampler to user Texture Unit 0
177+
// Set our "myTextureSampler" sampler to use Texture Unit 0
178178
glUniform1i(TextureID, 0);
179179

180180
// 1rst attribute buffer : vertices

tutorial09_vbo_indexing/tutorial09_AssImp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ int main( void )
169169
// Bind our texture in Texture Unit 0
170170
glActiveTexture(GL_TEXTURE0);
171171
glBindTexture(GL_TEXTURE_2D, Texture);
172-
// Set our "myTextureSampler" sampler to user Texture Unit 0
172+
// Set our "myTextureSampler" sampler to use Texture Unit 0
173173
glUniform1i(TextureID, 0);
174174

175175
// 1rst attribute buffer : vertices

0 commit comments

Comments
 (0)