summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-10-18 15:54:39 -0700
committerCorbin Simpson <[email protected]>2009-10-18 16:09:01 -0700
commit16a06fea73b1e6e8857f7568762bfc56dcfe2940 (patch)
tree918e894fe9ef44be534a4e982c830bc4a0dba454 /src/gallium/drivers/r300/r300_screen.c
parentd2e29b502e5f777551ff057f08e54d82542863cf (diff)
r300g: Fix up a bunch of warnings.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 44770d1acaa..cc499d400a4 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -311,7 +311,7 @@ r300_get_tex_transfer(struct pipe_screen *screen,
{
struct r300_texture *tex = (struct r300_texture *)texture;
struct r300_transfer *trans;
- unsigned offset; /* in bytes */
+ unsigned offset = 0; /* in bytes */
/* XXX Add support for these things */
if (texture->target == PIPE_TEXTURE_CUBE) {