twn_gl_any_rendering.c: describe possible micro optimization
This commit is contained in:
parent
7c1383e3a6
commit
7c0107704d
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user