comparison 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
comparison
equal deleted inserted replaced
905:88bf49aebc13 906:52b1c6ff10c5
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
729 // TODO: MAKE THIS DYNAMIC !!! See SdlOpenGLViewport vs Cairo in ViewportWrapper
728 # if ORTHANC_ENABLE_OPENGL == 1 && !defined(__APPLE__) 730 # if ORTHANC_ENABLE_OPENGL == 1 && !defined(__APPLE__)
729 glEnable(GL_DEBUG_OUTPUT); 731 glEnable(GL_DEBUG_OUTPUT);
730 glDebugMessageCallback(OpenGLMessageCallback, 0); 732 glDebugMessageCallback(OpenGLMessageCallback, 0);
731 # endif 733 # endif
734 #endif
732 735
733 // Uint32 SDL_GetWindowID(SDL_Window* window) 736 // Uint32 SDL_GetWindowID(SDL_Window* window)
734 // SDL_Window* SDL_GetWindowFromID(Uint32 id) // may return NULL 737 // SDL_Window* SDL_GetWindowFromID(Uint32 id) // may return NULL
735 738
736 bool stop = false; 739 bool stop = false;