mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
treshold -> threshold
This commit is contained in:
@@ -97,7 +97,7 @@ int main()
|
|||||||
unsigned int hdrFBO;
|
unsigned int hdrFBO;
|
||||||
glGenFramebuffers(1, &hdrFBO);
|
glGenFramebuffers(1, &hdrFBO);
|
||||||
glBindFramebuffer(GL_FRAMEBUFFER, hdrFBO);
|
glBindFramebuffer(GL_FRAMEBUFFER, hdrFBO);
|
||||||
// create 2 floating point color buffers (1 for normal rendering, other for brightness treshold values)
|
// create 2 floating point color buffers (1 for normal rendering, other for brightness threshold values)
|
||||||
unsigned int colorBuffers[2];
|
unsigned int colorBuffers[2];
|
||||||
glGenTextures(2, colorBuffers);
|
glGenTextures(2, colorBuffers);
|
||||||
for (unsigned int i = 0; i < 2; i++)
|
for (unsigned int i = 0; i < 2; i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user