diff --git a/taichi/backends/opengl/opengl_api.cpp b/taichi/backends/opengl/opengl_api.cpp index 4234095c2ab50..05be70a4048eb 100644 --- a/taichi/backends/opengl/opengl_api.cpp +++ b/taichi/backends/opengl/opengl_api.cpp @@ -255,8 +255,7 @@ struct GLBuffer : GLSSBO { bind_index((int)index); } - GLBuffer(GLBufId index) - : index(index), base(nullptr), size(0) { + GLBuffer(GLBufId index) : index(index), base(nullptr), size(0) { bind_index((int)index); }