aboutsummaryrefslogtreecommitdiff
path: root/src/graph/view3D/lighting3d.c
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2013-04-01 16:25:31 +0000
committerdos-reis <gdr@axiomatics.org>2013-04-01 16:25:31 +0000
commit3e31ba0630d42e66ad7006871bcbf2b483d55860 (patch)
tree333065773115de9720f7cec484313f53a28ebd0a /src/graph/view3D/lighting3d.c
parent37ff2a16b4b754b9c6ec30aa84a2a97df29eee54 (diff)
downloadopen-axiom-3e31ba0630d42e66ad7006871bcbf2b483d55860.tar.gz
More C cleanups
Diffstat (limited to 'src/graph/view3D/lighting3d.c')
-rw-r--r--src/graph/view3D/lighting3d.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/graph/view3D/lighting3d.c b/src/graph/view3D/lighting3d.c
index ff6f9dad..666c708c 100644
--- a/src/graph/view3D/lighting3d.c
+++ b/src/graph/view3D/lighting3d.c
@@ -94,9 +94,11 @@ makeLightingPanel(void)
Pixmap lightbits,lightmask;
XColor foreColor, backColor;
- lightbits = XCreateBitmapFromData(dsply,rtWindow, lightBitmap_bits,
+ lightbits = XCreateBitmapFromData(dsply,rtWindow,
+ (const char*) lightBitmap_bits,
lightBitmap_width,lightBitmap_height);
- lightmask = XCreateBitmapFromData(dsply,rtWindow, lightMask_bits,
+ lightmask = XCreateBitmapFromData(dsply,rtWindow,
+ (const char*) lightMask_bits,
lightMask_width,lightMask_height);
cwAttrib.background_pixel = backgroundColor;
cwAttrib.border_pixel = foregroundColor;