[Piglit] [piglit][PATCH] ext_transform_feedback - unmap readback buffer
Brian Paul
brianp at vmware.com
Thu Jun 16 16:29:37 UTC 2016
On 07/29/2095 02:21 PM, Sebastian Olender wrote:
> use glUnmapBuffer to release the mapping of a buffer object after use
> ---
> tests/spec/ext_transform_feedback/overflow-edge-cases.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/spec/ext_transform_feedback/overflow-edge-cases.c b/tests/spec/ext_transform_feedback/overflow-edge-cases.c
> index 344d0ff..5c0fa70 100644
> --- a/tests/spec/ext_transform_feedback/overflow-edge-cases.c
> +++ b/tests/spec/ext_transform_feedback/overflow-edge-cases.c
> @@ -289,6 +289,8 @@ test(int bind_size, int num_varyings, int num_primitives, int mode_index)
> pass = GL_FALSE;
> }
> }
> + glUnmapBuffer(GL_TRANSFORM_FEEDBACK_BUFFER); /* unmap readback */
> +
>
> if (pass)
> printf("PASS\n");
>
Reviewed-by: Brian Paul <brianp at vmware.com>
Need me to push this for you?
-Brian
More information about the Piglit
mailing list