Add gamma correction, change illumination values
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
void set_clean_color_context(unsigned char r, unsigned char g, unsigned char b)
|
||||
{
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
|
||||
glEnable(GL_FRAMEBUFFER_SRGB);
|
||||
glClearColor((float)r / 0xff, (float)g / 0xff, (float)b / 0xff, 1.0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user