diff Applications/Generic/GuiAdapter.cpp @ 911:64e5f3ff6360 am-dev

Merge
author Alain Mazy <alain@mazy.be>
date Thu, 18 Jul 2019 10:50:59 +0200
parents 9953f16c304d 52b1c6ff10c5
children 912cc77be3b4
line wrap: on
line diff
--- a/Applications/Generic/GuiAdapter.cpp	Wed Jul 17 15:33:07 2019 +0200
+++ b/Applications/Generic/GuiAdapter.cpp	Thu Jul 18 10:50:59 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