Mercurial > hg > orthanc-stone
changeset 2062:f5db73779f2d deep-learning
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 03 May 2023 16:48:59 +0200 |
parents | 6ea5f40ea0e9 |
children | b6b5e1ca1cc2 |
files | OrthancStone/Sources/OpenGL/OpenGLTextureArray.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancStone/Sources/OpenGL/OpenGLTextureArray.cpp Wed May 03 16:34:34 2023 +0200 +++ b/OrthancStone/Sources/OpenGL/OpenGLTextureArray.cpp Wed May 03 16:48:59 2023 +0200 @@ -256,7 +256,7 @@ #else glBindTexture(GL_TEXTURE_2D_ARRAY, texture.texture_); - switch (format) + switch (format_) { case Orthanc::PixelFormat_Grayscale8: glGetTexImage(GL_TEXTURE_2D_ARRAY, 0 /* base level */, GL_RED, GL_UNSIGNED_BYTE, &buffer_[0]);