Add README badges for CI
This commit is contained in:
parent
0540cf11fd
commit
08620e33a9
|
@ -1,4 +1,6 @@
|
|||
# Qtk
|
||||
[![All Builds](https://github.com/shaunrd0/qtk/actions/workflows/all-builds.yml/badge.svg)](https://github.com/shaunrd0/qtk/actions/workflows/all-builds.yml)
|
||||
[![Linting](https://github.com/shaunrd0/qtk/actions/workflows/linting.yml/badge.svg)](https://github.com/shaunrd0/qtk/actions/workflows/linting.yml)
|
||||
|
||||
Practice project for learning about using OpenGL in Qt widget applications.
|
||||
Model loader using [Assimp](https://assimp.org/) within a Qt widget application.
|
||||
|
|
|
@ -72,8 +72,9 @@ QOpenGLTexture * OpenGLTextureFactory::initCubeMap(
|
|||
int i = 0;
|
||||
for(const auto & face : faces) {
|
||||
QImage faceImage(faceTextures[i]);
|
||||
if(faceImage.isNull())
|
||||
if(faceImage.isNull()) {
|
||||
qDebug() << "Error loading cube map image\n";
|
||||
}
|
||||
faceImage = faceImage.convertToFormat(QImage::Format_RGBA8888);
|
||||
|
||||
// On the first iteration, set format and allocate texture storage
|
||||
|
|
Loading…
Reference in New Issue