changeset 8201:5f3d984d8207

8025837: Extraneous changes in the fix for 8007386 Reviewed-by: jgodinez, jchen
author prr
date Wed, 02 Oct 2013 11:16:07 -0700
parents 96ff585555f4
children f53aeb3c7eed
files src/solaris/native/sun/java2d/x11/XRBackendNative.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/native/sun/java2d/x11/XRBackendNative.c	Wed Oct 02 10:06:28 2013 +0400
+++ b/src/solaris/native/sun/java2d/x11/XRBackendNative.c	Wed Oct 02 11:16:07 2013 -0700
@@ -323,11 +323,9 @@
     XImage* defaultImg;
     jfieldID maskImgID;
     jlong fmt8;
-    jlong fmt24;
     jlong fmt32;
 
     jfieldID a8ID = (*env)->GetStaticFieldID(env, cls, "FMTPTR_A8", "J");
-    jfieldID rgb24ID = (*env)->GetStaticFieldID(env, cls, "FMTPTR_ARGB24", "J");
     jfieldID argb32ID = (*env)->GetStaticFieldID(env, cls, "FMTPTR_ARGB32", "J");
 
     if (awt_display == (Display *)NULL) {
@@ -335,11 +333,9 @@
     }
 
     fmt8 = ptr_to_jlong(XRenderFindStandardFormat(awt_display, PictStandardA8));
-    fmt24 = ptr_to_jlong(XRenderFindStandardFormat(awt_display, PictStandardRGB24));
     fmt32 = ptr_to_jlong(XRenderFindStandardFormat(awt_display, PictStandardARGB32));
 
     (*env)->SetStaticLongField(env, cls, a8ID, fmt8);
-    (*env)->SetStaticLongField(env, cls, rgb24ID, fmt24);
     (*env)->SetStaticLongField(env, cls, argb32ID, fmt32);
 
     maskData = (char *) malloc(32*32);