jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c
Print this page
@@ -335,11 +335,11 @@
AwtGraphicsConfigDataPtr defaultConfig;
int ind;
char errmsg[128];
int xinawareScreen;
void* xrenderLibHandle = NULL;
- XRenderFindVisualFormatFunc *XRenderFindVisualFormat = NULL;
+ XRenderFindVisualFormatFunc* xrenderFindVisualFormat = NULL;
int major_opcode, first_event, first_error;
if (usingXinerama) {
xinawareScreen = 0;
}
@@ -433,11 +433,11 @@
RTLD_LAZY | RTLD_GLOBAL);
}
#endif
if (xrenderLibHandle != NULL) {
- XRenderFindVisualFormat =
+ xrenderFindVisualFormat =
(XRenderFindVisualFormatFunc*)dlsym(xrenderLibHandle,
"XRenderFindVisualFormat");
}
}
@@ -452,11 +452,11 @@
}
graphicsConfigs [ind] = ZALLOC (_AwtGraphicsConfigData);
graphicsConfigs [ind]->awt_depth = pVITrue [i].depth;
memcpy (&graphicsConfigs [ind]->awt_visInfo, &pVITrue [i],
sizeof (XVisualInfo));
- if (XRenderFindVisualFormat != NULL) {
+ if (xrenderFindVisualFormat != NULL) {
XRenderPictFormat *format = XRenderFindVisualFormat (awt_display,
pVITrue [i].visual);
if (format &&
format->type == PictTypeDirect &&
format->direct.alphaMask)