jdk/src/solaris/classes/sun/java2d/x11/X11SurfaceData.java
changeset 24527 779f94d50411
parent 24522 3a0bbf9f5e81
equal deleted inserted replaced
24526:ebdd0909c381 24527:779f94d50411
   513                                              int transparency)
   513                                              int transparency)
   514     {
   514     {
   515         return getSurfaceType(gc, transparency, false);
   515         return getSurfaceType(gc, transparency, false);
   516     }
   516     }
   517 
   517 
       
   518     @SuppressWarnings("fallthrough")
   518     public static SurfaceType getSurfaceType(X11GraphicsConfig gc,
   519     public static SurfaceType getSurfaceType(X11GraphicsConfig gc,
   519                                              int transparency,
   520                                              int transparency,
   520                                              boolean pixmapSurface)
   521                                              boolean pixmapSurface)
   521     {
   522     {
   522         boolean transparent = (transparency == Transparency.BITMASK);
   523         boolean transparent = (transparency == Transparency.BITMASK);