u_rect.h was including u_surface.h just to avoid touching a bunch
of other source files after some functions were moved from u_rect.h
to u_surface.h. This patch cleans up that hack.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
#include "u_math.h"
#include "u_memory.h"
-#include "u_rect.h"
#include "u_format.h"
#include "u_format_s3tc.h"
+#include "u_surface.h"
#include "pipe/p_defines.h"
}
#endif
-
-/* Include pipe copy/fill rect helpers declarations for backwards compatibility
- */
-#include "util/u_surface.h"
-
-
#endif /* U_RECT_H */
#include "util/u_format.h"
#include "util/u_math.h"
#include "util/u_memory.h"
-#include "util/u_rect.h"
+#include "util/u_surface.h"
#include "util/u_tile.h"
#include <assert.h>
#include "util/u_memory.h"
-#include "util/u_rect.h"
#include "util/u_sampler.h"
+#include "util/u_surface.h"
#include "util/u_video.h"
#include "vl_mpeg12_decoder.h"