We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df4175e commit c46d519Copy full SHA for c46d519
examples/tof-viewer/src/ADIMainCore.cpp
@@ -333,7 +333,7 @@ void ADIMainWindow::OpenGLCleanUp() {
333
//glDeleteTextures(1, &m_gl_pc_depthTex); // TODO: Find out why deleting this causes issues.
334
glDeleteVertexArrays(1, &m_view_instance->vertexArrayObject);
335
glDeleteBuffers(1, &m_view_instance->vertexBufferObject);
336
-
+
337
// Clean up persistent point cloud buffers
338
if (m_buffers_initialized) {
339
glDeleteVertexArrays(1, &m_persistent_vao);
@@ -343,7 +343,7 @@ void ADIMainWindow::OpenGLCleanUp() {
343
m_last_vertex_size = 0;
344
m_buffers_initialized = false;
345
}
346
347
glDeleteProgram(m_view_instance->pcShader.Id());
348
m_view_instance->pcShader.RemoveShaders();
349
0 commit comments