Show
Ignore:
Timestamp:
04/23/14 11:08:26 (9 hours ago)
Author:
robert
Message:

Introduced new scheme for setting up which version of OpenGL/OpenGL ES the OSG is compiled for.

To select standard OpenGL 1/2 build with full backwards and forwards comtability use:

./configure
make

OR

./configure -DOPENGL_PROFILE=GL2

To select OpenGL 3 core profile build using GL3/gl3.h header:

./configure -DOPENGL_PROFILE=GL3

To select OpenGL Arb core profile build using GL/glcorearb.h header:

./configure -DOPENGL_PROFILE=GLCORE

To select OpenGL ES 1.1 profile use:

./configure -DOPENGL_PROFILE=GLES1

To select OpenGL ES 2 profile use:

./configure -DOPENGL_PROFILE=GLES2

Using OPENGL_PROFILE will select all the appropriate features required so no other settings in cmake will need to be adjusted.
The new configuration options are stored in the include/osg/OpenGL header that deprecates the old include/osg/GL header.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgGA/GUIEventAdapter.cpp

    r13376 r13890  
    2626    _handled(false), 
    2727    _eventType(NONE), 
    28     _time(0.0), 
    2928    _windowX(0), 
    3029    _windowY(0), 
     
    4948 
    5049GUIEventAdapter::GUIEventAdapter(const GUIEventAdapter& rhs,const osg::CopyOp& copyop): 
    51     osg::Object(rhs,copyop), 
     50    osgGA::Event(rhs,copyop), 
    5251    _handled(rhs._handled), 
    5352    _eventType(rhs._eventType), 
    54     _time(rhs._time), 
    5553    _context(rhs._context), 
    5654    _windowX(rhs._windowX),