Solve compilation issue in gles platform
This commit is contained in:
parent
aa38eccda8
commit
0021565238
2 changed files with 3 additions and 9 deletions
2
Makefile
2
Makefile
|
@ -22,7 +22,7 @@ else ifeq ($(PLATFORM),generic-sdl)
|
|||
else ifeq ($(PLATFORM),gles)
|
||||
# For Raspberry Pi uncomment the two below lines
|
||||
#LDFLAGS += -lbcm_host
|
||||
#CPU_FLAGS="-mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard"
|
||||
#CPU_FLAGS= -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard
|
||||
MORE_CFLAGS += -DARMV6T2
|
||||
HAVE_GLES_DISPLAY = 1
|
||||
HAVE_NEON = 1
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include "custom.h"
|
||||
#include "xwin.h"
|
||||
#include "drawing.h"
|
||||
#include "od-pandora/inputmode.h"
|
||||
#include "savestate.h"
|
||||
#include "picasso96.h"
|
||||
|
||||
|
@ -251,11 +250,6 @@ void flush_screen ()
|
|||
{
|
||||
//SDL_UnlockSurface (prSDLScreen);
|
||||
|
||||
if (show_inputmode)
|
||||
{
|
||||
inputmode_redraw();
|
||||
}
|
||||
|
||||
|
||||
if (savestate_state == STATE_DOSAVE)
|
||||
{
|
||||
|
@ -409,8 +403,8 @@ int graphics_init (void)
|
|||
if (!init_colors ())
|
||||
return 0;
|
||||
|
||||
buttonstate[0] = buttonstate[1] = buttonstate[2] = 0;
|
||||
keyboard_init();
|
||||
//buttonstate[0] = buttonstate[1] = buttonstate[2] = 0;
|
||||
//keyboard_init();
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue