Comment improvement in rencache.c

This commit is contained in:
rxi 2020-05-07 22:24:12 +01:00
parent 762c1e2b69
commit 774d95d800

View file

@ -1,9 +1,9 @@
#include <stdio.h> #include <stdio.h>
#include "rencache.h" #include "rencache.h"
/* a cache over the software renderer -- all drawing operations are stored /* a cache over the software renderer -- all drawing operations are stored as
** as commands when issued. At the end of the frame we write the commands to ** commands when issued. At the end of the frame we write the commands to a grid
** a spatial hash, take the cells that have changed since the previous frame, ** of hash values, take the cells that have changed since the previous frame,
** merge them into dirty rectangles and redraw only those regions */ ** merge them into dirty rectangles and redraw only those regions */
#define CELLS_X 80 #define CELLS_X 80