mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-30 06:43:53 +00:00
(dispmanx_gfx.c) Nit
This commit is contained in:
parent
70850c8ca3
commit
200b41bb58
@ -249,7 +249,9 @@ static void dispmanx_surface_setup(void *data, int src_width, int src_height,
|
||||
/* Allocate memory for all the pages in each surface
|
||||
* and initialize variables inside each page's struct. */
|
||||
surface->pages = calloc(surface->numpages, sizeof(struct dispmanx_page));
|
||||
for (i = 0; i < surface->numpages; i++) {
|
||||
|
||||
for (i = 0; i < surface->numpages; i++)
|
||||
{
|
||||
surface->pages[i].used = false;
|
||||
surface->pages[i].surface = surface;
|
||||
surface->pages[i].dispvars = _dispvars;
|
||||
|
Loading…
Reference in New Issue
Block a user