GPU: Tests Can Fail When Running OpenGL/Vulkan In Single Go. #107065

Closed
Jeroen Bakker wants to merge 1 commits from Jeroen-Bakker:gpu-tests-vert-format into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ static void test_shader_compute_vbo()
GPU_shader_bind(shader);
/* Construct VBO. */
static GPUVertFormat format = {0};
GPUVertFormat format = {0};
GPU_vertformat_attr_add(&format, "pos", GPU_COMP_F32, 4, GPU_FETCH_FLOAT);
GPUVertBuf *vbo = GPU_vertbuf_create_with_format_ex(&format, GPU_USAGE_DEVICE_ONLY);
GPU_vertbuf_data_alloc(vbo, SIZE);