patriciogonzalezvivo / glslViewer

Console-based GLSL Sandbox for 2D/3D shaders
BSD 3-Clause "New" or "Revised" License
4.62k stars 350 forks source link

Fix: if statement has empty body #290

Closed martinleopold closed 1 year ago

martinleopold commented 1 year ago

Looks like a bug, found through compiler warning:

/Users/mlg/code/glslViewer/src/sandbox.cpp:1441:26: warning: if statement has empty body [-Wempty-body]
    if (m_update_buffers);
patriciogonzalezvivo commented 1 year ago

Good catch! Thank you!