Skip to content

Commit f7999d4

Browse files
committed
Removed spaces
1 parent 543e179 commit f7999d4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

8-light/main.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -446,17 +446,9 @@ int main()
446446
light.render(GL_TRIANGLES, 36, GL_UNSIGNED_INT, nullptr);
447447
}
448448
lightShader.unbind();
449-
450-
// Unbind mesh from global state
451449
mesh.unbind();
452450

453-
// OpenGL uses a double buffer (front and back buffers) technique for rendering
454-
// All of the rendering commands will go to back buffer
455-
// After all of the rendering commands are done we switch to the front buffer which has the final output image
456-
// If we don't do this we can see flickering in output image, cause the image is build pixel by pixel from left to right and from top to bottom
457-
// So basically we'll see the image being build and that's why will see the flickering (if image is small and not complex than it probably won't matter)
458451
window.swapBuffers();
459-
// Get + Handle glfwWindow I/O
460452
glfwPollEvents();
461453
}
462454

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy