Compare commits

...

2 Commits

Author SHA1 Message Date
Shaun Reed 6dff7f14ce Test linting CI will fail 2022-11-20 10:59:39 -05:00
Shaun Reed 656c0a92ff Clang tidy 2022-11-20 10:33:31 -05:00
2 changed files with 6 additions and 0 deletions

View File

@ -35,6 +35,10 @@ jobs:
style: '' style: ''
# Use .clang-tidy file # Use .clang-tidy file
tidy-checks: '' tidy-checks: ''
# Check the entire repo for source files to tidy
files-changed-only: false
# Ignore qtk build and external assimp directories
ignore: '.github|build|extern/assimp/assimp'
# Point to compile_commands.json produced by build # Point to compile_commands.json produced by build
database: 'build' database: 'build'
# Use thread comments as feedback # Use thread comments as feedback

View File

@ -49,6 +49,8 @@ QOpenGLTexture * OpenGLTextureFactory::initCubeMap(const char * tile) {
QOpenGLTexture * OpenGLTextureFactory::initCubeMap( QOpenGLTexture * OpenGLTextureFactory::initCubeMap(
const char * right, const char * top, const char * front, const char * left, const char * right, const char * top, const char * front, const char * left,
const char * bottom, const char * back) { const char * bottom, const char * back) {
if (false)
return
return initCubeMap( return initCubeMap(
QImage(right), QImage(top), QImage(front), QImage(left), QImage(bottom), QImage(right), QImage(top), QImage(front), QImage(left), QImage(bottom),
QImage(back)); QImage(back));