C89/C90_BUILD fixes

This commit is contained in:
twinaphex 2016-04-18 03:00:23 +02:00
parent c75143a62f
commit acf9f7aad1
2 changed files with 7 additions and 4 deletions

View File

@ -506,12 +506,14 @@ bool menu_display_ctl(enum menu_display_ctl_state state, void *data)
const float *new_tex_coord = NULL;
menu_display_ctx_draw_t *draw = (menu_display_ctx_draw_t*)data;
float bg[16] = {
1, 0, 0.1, draw->handle_alpha,
1, 0.1, 0, draw->handle_alpha,
0.05, 0, 0.05, draw->handle_alpha,
0.05, 0, 0.05, draw->handle_alpha
1, 0, 0.1, 1,
1, 0.1, 0, 1,
0.05, 0, 0.05, 1,
0.05, 0, 0.05, 1
};
bg[3] = bg[7] = bg[11] = bg[15] = draw->handle_alpha;
if (!menu_disp || !draw)
return false;

View File

@ -69,6 +69,7 @@ HAVE_PRESERVE_DYLIB=no # Enable dlclose() for Valgrind support
HAVE_PARPORT=auto # Parallel port joypad support
HAVE_IMAGEVIEWER=yes # Built-in image viewer support.
C89_IMAGEVIEWER=no # stb_image hates C89
C90_IMAGEVIEWER=no # stb_image hates C90
HAVE_MMAP=auto # MMAP support
HAVE_QT=no # QT companion support
HAVE_XSHM=no # XShm video driver support (disabled because it's just a dummied out stub)