summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2013-09-30 20:11:24 -0700
committerVinson Lee <[email protected]>2013-09-30 20:15:53 -0700
commit14442c46fb7852c2747a78a40a939fc67ef6eb4d (patch)
treef5eac1870dbea8f66696ab27bbe58b193d14a9d5 /src/gallium
parent9f6e76a91e3a176e00ca3e8c0bbd61d49df45961 (diff)
st/xvmc: Include u_surface.h for u_copy_rect.
This patch fixes the build error introduced with commit 81bb98e928861260170c16f5c3e0d80492251d6b. CC subpicture.lo subpicture.c: In function 'upload_sampler': subpicture.c:181:4: error: implicit declaration of function 'util_copy_rect' [-Werror=implicit-function-declaration] subpicture.c: In function 'XvMCClearSubpicture': subpicture.c:304:21: error: storage size of 'uc' isn't known subpicture.c:328:4: error: implicit declaration of function 'util_fill_rect' [-Werror=implicit-function-declaration] subpicture.c:304:21: warning: unused variable 'uc' [-Wunused-variable] Signed-off-by: Vinson Lee <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/xvmc/subpicture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xvmc/subpicture.c b/src/gallium/state_trackers/xvmc/subpicture.c
index e38f6f7c7f8..ef8e578b485 100644
--- a/src/gallium/state_trackers/xvmc/subpicture.c
+++ b/src/gallium/state_trackers/xvmc/subpicture.c
@@ -38,6 +38,7 @@
#include "util/u_math.h"
#include "util/u_format.h"
#include "util/u_sampler.h"
+#include "util/u_surface.h"
#include "util/u_rect.h"
#include "vl/vl_winsys.h"