A bit more clang-format

This commit is contained in:
Jasmine Iwanek
2022-11-19 08:49:04 -05:00
parent b04dd8cc8b
commit 3fe4f75108
223 changed files with 8047 additions and 7456 deletions

View File

@@ -27,11 +27,11 @@
#include "qt_openglrenderer.hpp"
#ifndef GL_MAP_PERSISTENT_BIT
#define GL_MAP_PERSISTENT_BIT 0x0040
# define GL_MAP_PERSISTENT_BIT 0x0040
#endif
#ifndef GL_MAP_COHERENT_BIT
#define GL_MAP_COHERENT_BIT 0x0080
# define GL_MAP_COHERENT_BIT 0x0080
#endif
OpenGLRenderer::OpenGLRenderer(QWidget *parent)
@@ -321,7 +321,10 @@ OpenGLRenderer::applyOptions()
void
OpenGLRenderer::reloadOptions()
{
if (options) { delete options; options = nullptr; }
if (options) {
delete options;
options = nullptr;
}
options = new OpenGLOptions(this, true, glslVersion);
applyOptions();