Commits

Marc Lepage  committed 7428fd5

Fix some typos in comments.

  • Participants
  • Parent commits 1bd1670

Comments (0)

Files changed (3)

File src/modules/graphics/opengl/Graphics.cpp

 	if (isCreated())
 		tempState = saveState();
 
-	// Unlad all volatile objects. These must be reloaded after
+	// Unload all volatile objects. These must be reloaded after
 	// the display mode change.
 	Volatile::unloadAll();
 
 	Canvas *canvas = new Canvas(width, height);
 	GLenum err = canvas->getStatus();
 
-	// everything ok, reaturn canvas (early out)
+	// everything ok, return canvas (early out)
 	if (err == GL_FRAMEBUFFER_COMPLETE)
 		return canvas;
 

File src/modules/graphics/opengl/Graphics.h

 	int getModes(lua_State *L);
 
 	/**
-	 * Scissor defines a box such that everything outside that box is discared and not drawn.
+	 * Scissor defines a box such that everything outside that box is discarded and not drawn.
 	 * Scissoring is automatically enabled.
 	 * @param x The x-coordinate of the top-left corner.
 	 * @param y The y-coordinate of the top-left corner.

File src/modules/graphics/opengl/VertexBuffer.h

 {
 
 /**
- * VertexBuffer is an abstraction over VBOs (Vertex Buffer Objecys), which
+ * VertexBuffer is an abstraction over VBOs (Vertex Buffer Objects), which
  * falls back to regular vertex arrays if VBOs are not supported.
  *
  * This allows code to take advantage of VBOs where available, but still