Mercurial > hg > orthanc-stone
diff Applications/Generic/GuiAdapter.cpp @ 906:52b1c6ff10c5
Disabled OpenGL in GuiAdapter to allow for Cairo-only workflows (THIS IS A TEMP CHANGE!!!) + disabled outlined text by default (build macro)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 17 Jul 2019 17:17:34 +0200 |
parents | 60a403f01c31 |
children | 64e5f3ff6360 2b4b6b86520a |
line wrap: on
line diff
--- a/Applications/Generic/GuiAdapter.cpp Wed Jul 17 16:56:53 2019 +0200 +++ b/Applications/Generic/GuiAdapter.cpp Wed Jul 17 17:17:34 2019 +0200 @@ -725,10 +725,13 @@ // SDL ONLY void GuiAdapter::Run() { +#if 0 + // TODO: MAKE THIS DYNAMIC !!! See SdlOpenGLViewport vs Cairo in ViewportWrapper # if ORTHANC_ENABLE_OPENGL == 1 && !defined(__APPLE__) glEnable(GL_DEBUG_OUTPUT); glDebugMessageCallback(OpenGLMessageCallback, 0); # endif +#endif // Uint32 SDL_GetWindowID(SDL_Window* window) // SDL_Window* SDL_GetWindowFromID(Uint32 id) // may return NULL