Skip to content

Commit

Permalink
Support for SDL2-video
Browse files Browse the repository at this point in the history
  • Loading branch information
mywave82 committed Nov 27, 2018
1 parent 7b725e8 commit f4e3a9d
Show file tree
Hide file tree
Showing 15 changed files with 2,535 additions and 5 deletions.
3 changes: 3 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ endif
ifeq ($(HAVE_SDL),1)
$(CP) ocp-sdl "$(DESTDIR)$(BINDIR)/ocp-sdl"
endif
ifeq ($(HAVE_SDL2),1)
$(CP) ocp-sdl2 "$(DESTDIR)$(BINDIR)/ocp-sdl2"
endif
ifeq ($(HAVE_X11),1)
$(CP) ocp-x11 "$(DESTDIR)$(BINDIR)/ocp-x11"
endif
Expand Down
4 changes: 4 additions & 0 deletions Rules.make.in
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ SDL_CFLAGS=@SDL_CFLAGS@
SDL_LIBS=@SDL_LIBS@
HAVE_SDL=@HAVE_SDL@

SDL2_CFLAGS=@SDL2_CFLAGS@
SDL2_LIBS=@SDL2_LIBS@
HAVE_SDL2=@HAVE_SDL2@

# These affect what plugins are compiled in at some points
CDROM_SUPPORT=@CDROM_SUPPORT@
LINUX=@LINUX@
Expand Down
3 changes: 3 additions & 0 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@
/* #define MCP_DEBUG 1 */
/* #define COREAUDIO_DEBUG 1 */
/* #define SDL_DEBUG 1 */
/* #define SDL2_DEBUG 1 */
/* #define CPIFACE_DEBUG 1 */

#define VERBOSE_FRAMEBUFFER 1
Expand Down Expand Up @@ -276,6 +277,8 @@

#undef HAVE_SDL

#undef HAVE_SDL2

#undef HAVE_MAD

#undef HAVE_ERRNO_H
Expand Down
Loading

0 comments on commit f4e3a9d

Please sign in to comment.