Mercurial > hg > orthanc-stone
comparison Applications/Generic/GuiAdapter.cpp @ 913:2b4b6b86520a
Re-enabled gl debug output in GuiAdapter +
REMOVED GZIP ENCODING IN OrthancSeriesVolumeProgressiveLoader +
added ability to use custom windowing in GrayscaleStyleConfigurator
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 19 Jul 2019 10:30:40 +0200 |
parents | 52b1c6ff10c5 |
children | 912cc77be3b4 |
comparison
equal
deleted
inserted
replaced
910:a6c12fe88bcb | 913:2b4b6b86520a |
---|---|
723 # endif | 723 # endif |
724 | 724 |
725 // SDL ONLY | 725 // SDL ONLY |
726 void GuiAdapter::Run() | 726 void GuiAdapter::Run() |
727 { | 727 { |
728 #if 0 | 728 #if 1 |
729 // TODO: MAKE THIS DYNAMIC !!! See SdlOpenGLViewport vs Cairo in ViewportWrapper | 729 // TODO: MAKE THIS DYNAMIC !!! See SdlOpenGLViewport vs Cairo in ViewportWrapper |
730 # if ORTHANC_ENABLE_OPENGL == 1 && !defined(__APPLE__) | 730 # if ORTHANC_ENABLE_OPENGL == 1 && !defined(__APPLE__) |
731 glEnable(GL_DEBUG_OUTPUT); | 731 glEnable(GL_DEBUG_OUTPUT); |
732 glDebugMessageCallback(OpenGLMessageCallback, 0); | 732 glDebugMessageCallback(OpenGLMessageCallback, 0); |
733 # endif | 733 # endif |