diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2018-05-02 13:30:04 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2018-05-02 13:31:35 +0100 |
commit | 024a3b2dc8c600013b9b76c7f919594d533ba774 (patch) | |
tree | ff59bcbf12a1d6597c05d105e6a7135d6380df8e /faqe.c | |
parent | 1c1da6cb1854c9c1cb74206d179d9503496bbe02 (diff) | |
download | faqe-024a3b2dc8c600013b9b76c7f919594d533ba774.tar.gz faqe-024a3b2dc8c600013b9b76c7f919594d533ba774.tar.xz faqe-024a3b2dc8c600013b9b76c7f919594d533ba774.zip |
Enable SRGB framebuffer and backface culling.
Diffstat (limited to 'faqe.c')
-rw-r--r-- | faqe.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -89,6 +89,8 @@ int main(int argc, char **argv) viewport(uni.proj, WIDTH, HEIGHT); gl_enable(GL_DEPTH_TEST); + gl_enable(GL_FRAMEBUFFER_SRGB); + gl_enable(GL_CULL_FACE); while (running) { mat4x4 model; |