summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen_buffer.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-06-02 05:50:58 +0200
committerMarek Olšák <[email protected]>2010-06-02 06:01:22 +0200
commit37f3454eb3afa1297126a8d77a563d734c292a37 (patch)
treeecef6b95adaf132fef15fd23caa7daed86a018f7 /src/gallium/drivers/r300/r300_screen_buffer.c
parentae3063066cb209efd07413f125bb86108906b033 (diff)
r300g: let the driver determine the GEM domain for buffer_create
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen_buffer.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_screen_buffer.c b/src/gallium/drivers/r300/r300_screen_buffer.c
index 3e2b5afe6f4..de89f51f3eb 100644
--- a/src/gallium/drivers/r300/r300_screen_buffer.c
+++ b/src/gallium/drivers/r300/r300_screen_buffer.c
@@ -125,7 +125,7 @@ r300_winsys_buffer_create(struct r300_screen *r300screen,
struct r300_winsys_screen *rws = r300screen->rws;
struct r300_winsys_buffer *buf;
- buf = rws->buffer_create(rws, alignment, usage, size);
+ buf = rws->buffer_create(rws, alignment, usage, R300_DOMAIN_GTT, size);
return buf;
}