diff options
Diffstat (limited to 'src/gallium/drivers/r300/r300_texture.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_texture.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c index ddb66000561..6206570fca4 100644 --- a/src/gallium/drivers/r300/r300_texture.c +++ b/src/gallium/drivers/r300/r300_texture.c @@ -36,7 +36,9 @@ #include "util/u_memory.h" #include "pipe/p_screen.h" -#include "state_tracker/drm_api.h" + +/* XXX NO! just no! */ +#include "state_tracker/drm_driver.h" enum r300_dim { DIM_WIDTH = 0, @@ -1081,6 +1083,7 @@ r300_texture_from_handle(struct pipe_screen* screen, return NULL; } + /* XXX make the winsys return the stride_override, see i915_resource_texture.c:830 */ buffer = rws->buffer_from_handle(rws, whandle->handle); if (!buffer) { return NULL; |