Commit 9683b73d authored by Jordi Inglada's avatar Jordi Inglada

ENH: GL_NO_ACCEL as a compile option

parent 13fe8e4d
...@@ -224,6 +224,12 @@ IF(OTB_USE_VISU_GUI) ...@@ -224,6 +224,12 @@ IF(OTB_USE_VISU_GUI)
IF(OPENGL_INCLUDE_DIR) IF(OPENGL_INCLUDE_DIR)
INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR})
ENDIF(OPENGL_INCLUDE_DIR) ENDIF(OPENGL_INCLUDE_DIR)
#-------------------------------
# Display images using textures using video card acceleration
#-------------------------------
OPTION(GL_NO_ACCEL "Do not use video card acceleration." OFF)
MARK_AS_ADVANCED(GL_NO_ACCEL)
#------------------------------- #-------------------------------
# FLTK Library # FLTK Library
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#ifndef __otbImageWidgetBase_txx #ifndef __otbImageWidgetBase_txx
#define __otbImageWidgetBase_txx #define __otbImageWidgetBase_txx
#define GL_NO_ACCEL
#include "itkImageRegionConstIterator.h" #include "itkImageRegionConstIterator.h"
#include "itkMacro.h" #include "itkMacro.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment