Created
November 27, 2019 16:44
-
-
Save anarsoul/9efc0a6602a024b761178236cb04377d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/gallium/auxiliary/util/u_helpers.c b/src/gallium/auxiliary/util/u_helpers.c | |
index 00a1a9791fa..1a1c50959ab 100644 | |
--- a/src/gallium/auxiliary/util/u_helpers.c | |
+++ b/src/gallium/auxiliary/util/u_helpers.c | |
@@ -149,7 +149,7 @@ util_upload_index_buffer(struct pipe_context *pipe, | |
unsigned start_offset = info->start * info->index_size; | |
u_upload_data(pipe->stream_uploader, start_offset, | |
- info->count * info->index_size, 4, | |
+ info->count * info->index_size, 0x40, | |
(char*)info->index.user + start_offset, | |
out_offset, out_buffer); | |
u_upload_unmap(pipe->stream_uploader); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment