diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-04-11 10:57:02 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-04-11 10:57:02 +0000 |
commit | 409f571e32f4fe0fefe0f91ba9bce0b32220de0f (patch) | |
tree | ffe5eda8718a6a60a2d6dc2319777257e352b0d9 /devel/sdl12 | |
parent | Update to 1.3.13. (diff) |
Revert r.1.4 of files/patch-src_video_vgl_SDL__vglvideo.c - it doesn't work
in all cases.
Notes
Notes:
svn path=/head/; revision=41281
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; +} |