svn commit: r345486 - head/lib/libvgl
Bruce Evans
bde at FreeBSD.org
Sun Mar 24 20:43:23 UTC 2019
Author: bde
Date: Sun Mar 24 20:43:21 2019
New Revision: 345486
URL: https://svnweb.freebsd.org/changeset/base/345486
Log:
Oops, my previous commit to libvgl was missing the change of VGLSetBorder()
to match the change in its declaration. Change the declaration back to
"byte color" since setting of the border color is not supported for more
than 256 colors.
Modified:
head/lib/libvgl/vgl.3
head/lib/libvgl/vgl.h
Modified: head/lib/libvgl/vgl.3
==============================================================================
--- head/lib/libvgl/vgl.3 Sun Mar 24 20:37:37 2019 (r345485)
+++ head/lib/libvgl/vgl.3 Sun Mar 24 20:43:21 2019 (r345486)
@@ -127,7 +127,7 @@
.Ft void
.Fn VGLSetPaletteIndex "byte color" "byte red" "byte green" "byte blue"
.Ft void
-.Fn VGLSetBorder "u_long color"
+.Fn VGLSetBorder "byte color"
.Ft int
.Fn VGLSetVScreenSize "VGLBitmap *object" "int vxsize" "int vysize"
.Ft int
Modified: head/lib/libvgl/vgl.h
==============================================================================
--- head/lib/libvgl/vgl.h Sun Mar 24 20:37:37 2019 (r345485)
+++ head/lib/libvgl/vgl.h Sun Mar 24 20:43:21 2019 (r345486)
@@ -146,7 +146,7 @@ void VGLRestorePalette(void);
void VGLSavePalette(void);
void VGLSetPalette(byte *red, byte *green, byte *blue);
void VGLSetPaletteIndex(byte color, byte red, byte green, byte blue);
-void VGLSetBorder(u_long color);
+void VGLSetBorder(byte color);
void VGLBlankDisplay(int blank);
/* text.c */
int VGLTextSetFontFile(char *filename);
More information about the svn-src-all
mailing list