diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-09-06 18:12:14 +0200 |
---|---|---|
committer | Michel Dänzer <daenzer@vmware.com> | 2009-09-06 18:12:14 +0200 |
commit | 617202b5783b227be4f082b0da51b84d48500b3c (patch) | |
tree | 26c462eef3d1bf049d6c36c0cf74c15466d3bbc8 /src/gallium/winsys/drm/radeon/core/radeon_buffer.c | |
parent | 7b8ec0d8e72b4dd0c60db9c9454acd1f1ec75a7e (diff) |
r300g: Fix some issues pointed out by compiler warnings.
Diffstat (limited to 'src/gallium/winsys/drm/radeon/core/radeon_buffer.c')
-rw-r--r-- | src/gallium/winsys/drm/radeon/core/radeon_buffer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/radeon/core/radeon_buffer.c b/src/gallium/winsys/drm/radeon/core/radeon_buffer.c index ee39af9f76..7bf23cba23 100644 --- a/src/gallium/winsys/drm/radeon/core/radeon_buffer.c +++ b/src/gallium/winsys/drm/radeon/core/radeon_buffer.c @@ -32,6 +32,8 @@ #include "radeon_buffer.h" +#include "radeon_bo_gem.h" + static const char *radeon_get_name(struct pipe_winsys *ws) { return "Radeon/GEM+KMS"; @@ -99,6 +101,7 @@ static struct pipe_buffer *radeon_surface_buffer_create(struct pipe_winsys *ws, unsigned height, enum pipe_format format, unsigned usage, + unsigned tex_usage, unsigned *stride) { struct pipe_format_block block; @@ -190,7 +193,6 @@ static void radeon_flush_frontbuffer(struct pipe_winsys *pipe_winsys, struct radeon_winsys* radeon_pipe_winsys(int fd) { struct radeon_winsys* radeon_ws; - struct radeon_bo_manager* bom; radeon_ws = CALLOC_STRUCT(radeon_winsys); if (radeon_ws == NULL) { |