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/files | |
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/files')
-rw-r--r-- | devel/sdl12/files/patch-src_video_vgl_SDL__vglvideo.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; +} |