Mercurial > hg > orthanc-stone
diff Framework/OpenGL/OpenGLTexture.cpp @ 616:97926984d5d0
WebAssembly sample using Scene2D
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 02 May 2019 13:27:41 +0200 |
parents | fadacfbf5538 |
children | 1091b2adeb5a |
line wrap: on
line diff
--- a/Framework/OpenGL/OpenGLTexture.cpp Thu May 02 10:35:42 2019 +0200 +++ b/Framework/OpenGL/OpenGLTexture.cpp Thu May 02 13:27:41 2019 +0200 @@ -74,7 +74,7 @@ case Orthanc::PixelFormat_RGB24: sourceFormat = GL_RGB; - internalFormat = GL_RGBA; + internalFormat = GL_RGB; break; case Orthanc::PixelFormat_RGBA32: