twn_gl_any_rendering.c: describe possible micro optimization

This commit is contained in:
veclav talica 2024-10-08 10:22:31 +03:00
parent 7c1383e3a6
commit 7c0107704d

View File

@ -66,6 +66,7 @@ void bind_quad_element_buffer(void) {
void clear_draw_buffer(void) { void clear_draw_buffer(void) {
/* TODO: we can optimize a rectangle drawn over whole window to a clear color call*/
glClearColor((1.0f / 255) * 230, glClearColor((1.0f / 255) * 230,
(1.0f / 255) * 230, (1.0f / 255) * 230,
(1.0f / 255) * 230, 1); (1.0f / 255) * 230, 1);