diff --git a/src/texture.cpp b/src/texture.cpp index ac05a26..1e98ef7 100644 --- a/src/texture.cpp +++ b/src/texture.cpp @@ -49,6 +49,8 @@ QOpenGLTexture * OpenGLTextureFactory::initCubeMap(const char * tile) { QOpenGLTexture * OpenGLTextureFactory::initCubeMap( const char * right, const char * top, const char * front, const char * left, const char * bottom, const char * back) { + if (false) + return return initCubeMap( QImage(right), QImage(top), QImage(front), QImage(left), QImage(bottom), QImage(back));