freebsd-ports/devel/sdl12/files/patch-src_video_SDL__video.c
Maxim Sobolev 1f53fed603 Add FreeBSD native VGL driver. Right now it is work in progress and to activate
and test it you need the following (5-CURRENT only, BTW):
- fetch a patch for libvgl: http://people.freebsd.org/~sobomax/libvgl.patch,
  apply it, recompile/reinstall libvgl;
- recompile/reinstall sdl-devel (configure script automatically detects
  if right version of libvgl is present);
- set environment variable SDL_VIDEODRIVER=vgl;
- ensure that you have VESA support compiled into kernel or loaded as a kld;
- fire up your favourite SDL app ;).
2001-01-23 17:28:59 +00:00

16 lines
276 B
C

$FreeBSD$
--- src/video/SDL_video.c 2001/01/21 20:11:02 1.1
+++ src/video/SDL_video.c 2001/01/21 20:11:59
@@ -60,6 +60,9 @@
#ifdef ENABLE_SVGALIB
&SVGALIB_bootstrap,
#endif
+#ifdef ENABLE_VGL
+ &VGL_bootstrap,
+#endif
#ifdef ENABLE_AALIB
&AALIB_bootstrap,
#endif