This website works better with JavaScript.
Home
Explore
Help
Sign In
brkho
/
mesa
Watch
1
Star
0
Fork
0
Code
Releases
562
Wiki
Activity
Browse Source
r600g: Also set const_offset if the buffer is not a user buffer in r600_upload_const_buffer().
tags/android-x86-2.2-r2
Henri Verbeet
15 years ago
parent
f39dfa0ab0
commit
82acc3b14c
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
2
0
src/gallium/drivers/r600/r600_buffer.c
+ 2
- 0
src/gallium/drivers/r600/r600_buffer.c
View File
@@ -270,7 +270,9 @@ int r600_upload_const_buffer(struct r600_pipe_context *rctx, struct pipe_resourc
return ret;
rbuffer->uploaded = TRUE;
*const_offset = upload_offset;
return 0;
}
*const_offset = 0;
return 0;
}
Write
Preview
Loading…
Cancel
Save