Skip to content

Commit

Permalink
Set initial buffer colour to yellow
Browse files Browse the repository at this point in the history
  • Loading branch information
0152la authored Jun 21, 2017
1 parent 0181a03 commit 30039b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get_image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ int go(int argc, char* argv[]) {
glUniform1f(timeLocation, numFrames / 10.0f);
}

glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClearColor(1.0f, 1.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT);

glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_BYTE, 0);
Expand Down

0 comments on commit 30039b2

Please sign in to comment.