private void removeGdiSurface(final D3DWindowSurfaceData d3dw){
  if (gdiSurfaces != null) {
    GDIWindowSurfaceData gdisd=gdiSurfaces.get(d3dw);
    if (gdisd != null) {
      gdisd.invalidate();
      gdiSurfaces.remove(d3dw);
    }
  }
}

private void removeGdiSurface ( final D3DWindowSurfaceData d3dw ) { if ( gdiSurfaces != null ) { GDIWindowSurfaceData gdisd = gdiSurfaces . get ( d3dw ) ; if ( gdisd != null ) { gdisd . invalidate ( ) ; gdiSurfaces . remove ( d3dw ) ; } } }
remove the gdi surface corresponding to the passed d3dw surface from list of the cached gdi surfaces .
