Patched to compile in C90 mode.
This commit is contained in:
parent
c0ea35c354
commit
3a6e0fe33f
1 changed files with 1 additions and 2 deletions
|
@ -144,6 +144,7 @@ RPI_VideoInit(_THIS)
|
||||||
{
|
{
|
||||||
SDL_VideoDisplay display;
|
SDL_VideoDisplay display;
|
||||||
SDL_DisplayMode current_mode;
|
SDL_DisplayMode current_mode;
|
||||||
|
SDL_DisplayData *data;
|
||||||
uint32_t w,h;
|
uint32_t w,h;
|
||||||
|
|
||||||
/* Initialize BCM Host */
|
/* Initialize BCM Host */
|
||||||
|
@ -168,8 +169,6 @@ RPI_VideoInit(_THIS)
|
||||||
display.desktop_mode = current_mode;
|
display.desktop_mode = current_mode;
|
||||||
display.current_mode = current_mode;
|
display.current_mode = current_mode;
|
||||||
|
|
||||||
SDL_DisplayData *data;
|
|
||||||
|
|
||||||
/* Allocate display internal data */
|
/* Allocate display internal data */
|
||||||
data = (SDL_DisplayData *) SDL_calloc(1, sizeof(SDL_DisplayData));
|
data = (SDL_DisplayData *) SDL_calloc(1, sizeof(SDL_DisplayData));
|
||||||
if (data == NULL) {
|
if (data == NULL) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue