diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-04-11 18:57:02 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-04-11 18:57:02 +0800 |
commit | 70d0ef10262c6c8c8d4aa834f7e3318963a7620b (patch) | |
tree | a1810b67a64634aaec15cb1613160ad20fa695cc /devel/sdl12 | |
parent | b872ec2a6febd5479def340dce4034ab3c200753 (diff) | |
download | freebsd-ports-gnome-70d0ef10262c6c8c8d4aa834f7e3318963a7620b.tar.gz freebsd-ports-gnome-70d0ef10262c6c8c8d4aa834f7e3318963a7620b.tar.zst freebsd-ports-gnome-70d0ef10262c6c8c8d4aa834f7e3318963a7620b.zip |
Revert r.1.4 of files/patch-src_video_vgl_SDL__vglvideo.c - it doesn't work
in all cases.
Diffstat (limited to 'devel/sdl12')
-rw-r--r-- | devel/sdl12/Makefile | 2 | ||||
-rw-r--r-- | devel/sdl12/files/patch-src_video_vgl_SDL__vglvideo.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile index d098f387c209..0fb244dab375 100644 --- a/devel/sdl12/Makefile +++ b/devel/sdl12/Makefile @@ -7,7 +7,7 @@ PORTNAME= sdl PORTVERSION= 1.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://www.libsdl.org/release/ \ http://www.devolution.com/~slouken/SDL/release/ diff --git a/devel/sdl12/files/patch-src_video_vgl_SDL__vglvideo.c b/devel/sdl12/files/patch-src_video_vgl_SDL__vglvideo.c index 0ad67c2f1f3c..652b6c7aebe2 100644 --- a/devel/sdl12/files/patch-src_video_vgl_SDL__vglvideo.c +++ b/devel/sdl12/files/patch-src_video_vgl_SDL__vglvideo.c @@ -457,9 +457,9 @@ $FreeBSD$ + + for(i = 0; i < ncolors; i++) { + VGLSetPaletteIndex(firstcolor + i, -+ colors[i].r, -+ colors[i].g, -+ colors[i].b); ++ colors[i].r>>2, ++ colors[i].g>>2, ++ colors[i].b>>2); + } + return 1; +} |