diff options
Diffstat (limited to 'Userland/Applications')
-rw-r--r-- | Userland/Applications/3DFileViewer/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/3DFileViewer/main.cpp b/Userland/Applications/3DFileViewer/main.cpp index 177e181637..1a98418403 100644 --- a/Userland/Applications/3DFileViewer/main.cpp +++ b/Userland/Applications/3DFileViewer/main.cpp @@ -153,6 +153,7 @@ bool GLContextWidget::load(const String& filename) glGenTextures(1, &tex); if (texture_image) { // Upload texture data to the GL + glBindTexture(GL_TEXTURE_2D, tex); glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, texture_image->width(), texture_image->height(), 0, GL_RGBA, GL_UNSIGNED_BYTE, texture_image->scanline(0)); } else { dbgln("3DFileViewer: Couldn't load texture for {}", filename); |