mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
fbcon diagnostic
This commit is contained in:
parent
ead07697b1
commit
1d34b86430
@ -158,6 +158,7 @@ int fbcon_rebuild(sprixel* s, int ycell, int xcell, uint8_t* auxvec){
|
|||||||
}
|
}
|
||||||
|
|
||||||
int fbcon_draw(const tinfo* ti, sprixel* s, int y, int x){
|
int fbcon_draw(const tinfo* ti, sprixel* s, int y, int x){
|
||||||
|
logdebug("drawing at %d/%d\n", y, x);
|
||||||
int wrote = 0;
|
int wrote = 0;
|
||||||
for(unsigned l = 0 ; l < (unsigned)s->pixy && l + y * ti->cellpixy < ti->pixy ; ++l){
|
for(unsigned l = 0 ; l < (unsigned)s->pixy && l + y * ti->cellpixy < ti->pixy ; ++l){
|
||||||
// FIXME pixel size isn't necessarily 4B, line isn't necessarily psize*pixx
|
// FIXME pixel size isn't necessarily 4B, line isn't necessarily psize*pixx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user