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

ENH: GL_NO_ACCEL as a compile option

parent 13fe8e4d
......@@ -225,6 +225,12 @@ IF(OTB_USE_VISU_GUI)
INCLUDE_DIRECTORIES(${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
#-------------------------------
......
......@@ -18,7 +18,6 @@
#ifndef __otbImageWidgetBase_txx
#define __otbImageWidgetBase_txx
#define GL_NO_ACCEL
#include "itkImageRegionConstIterator.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