mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
formatting code using astyle
Origin commit data
------------------
Branch: master
Commit: bc17c13de4
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-05-17 (Mon, 17 May 2021)
Origin message was:
------------------
- formatting code using astyle
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -16,18 +16,19 @@ extern GLFramebuffer *glfb;
|
||||
#define fb_pixel_t uint32_t
|
||||
#endif
|
||||
|
||||
int main(int argc __attribute__((unused)), char ** argv __attribute__((unused)))
|
||||
int main(int argc __attribute__((unused)), char **argv __attribute__((unused)))
|
||||
{
|
||||
hal_api_init();
|
||||
#if HAVE_GENERIC_HARDWARE
|
||||
int available = glfb->getOSDBuffer()->size(); /* allocated in glfb constructor */
|
||||
fb_pixel_t *lfb = reinterpret_cast<fb_pixel_t*>(glfb->getOSDBuffer()->data());
|
||||
fb_pixel_t *lfb = reinterpret_cast<fb_pixel_t *>(glfb->getOSDBuffer()->data());
|
||||
|
||||
int x = 0;
|
||||
#endif
|
||||
while (1) {
|
||||
while (1)
|
||||
{
|
||||
#if HAVE_GENERIC_HARDWARE
|
||||
fb_pixel_t c = (0xff << (8 * x))|0xff000000;
|
||||
fb_pixel_t c = (0xff << (8 * x)) | 0xff000000;
|
||||
x++;
|
||||
if (x > 3) x = 0;
|
||||
for (int i = 0; i < available / 4; i++)
|
||||
|
Reference in New Issue
Block a user