We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3025fc0 commit 1a57ac0Copy full SHA for 1a57ac0
drivers/staging/fbtft/fbtft-core.c
@@ -581,7 +581,8 @@ void fbtft_post_process_screen(struct fbtft_par *par)
581
/* Get last memory buffer not written */
582
/* >1 and not >0 because we want to make sure */
583
/* application writes faster than it's read here */
584
- if(par->nb_backbuffers_full > 1){
+ //if(par->nb_backbuffers_full > 1){
585
+ if(par->nb_backbuffers_full > 0){
586
par->vmem_ptr = par->vmem_back_buffers[par->vmem_prev_buf_idx];
587
par->nb_backbuffers_full--;
588
}
0 commit comments