Skip to content
Snippets Groups Projects
Commit 9683b73d authored by Jordi Inglada's avatar Jordi Inglada
Browse files

ENH: GL_NO_ACCEL as a compile option

parent 13fe8e4d
No related branches found
No related tags found
No related merge requests found
......@@ -224,6 +224,12 @@ IF(OTB_USE_VISU_GUI)
IF(OPENGL_INCLUDE_DIR)
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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment