Skip to content

Commit

Permalink
Fix GL2 issue in osgearth_map example; remove osgearth_city example;
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron committed Feb 2, 2024
1 parent 4f0436c commit a4a63b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/applications/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ IF(NOT OSGEARTH_BUILD_PLATFORM_IPHONE)
ADD_SUBDIRECTORY(osgearth_annotation)
ADD_SUBDIRECTORY(osgearth_tracks)
ADD_SUBDIRECTORY(osgearth_transform)
ADD_SUBDIRECTORY(osgearth_city)
ADD_SUBDIRECTORY(osgearth_graticule)
ADD_SUBDIRECTORY(osgearth_occlusionculling)
ADD_SUBDIRECTORY(osgearth_minimap)
Expand Down
2 changes: 2 additions & 0 deletions src/applications/osgearth_map/osgearth_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <osgEarth/ImageLayer>
#include <osgEarth/ModelLayer>
#include <osgEarth/GeoTransform>
#include <osgEarth/GLUtils>

#include <osgEarth/TMS>
#include <osgEarth/WMS>
Expand Down Expand Up @@ -222,6 +223,7 @@ main(int argc, char** argv)

// initialize a viewer:
osgViewer::Viewer viewer(arguments);
viewer.setRealizeOperation( new GL3RealizeOperation() );
viewer.setCameraManipulator( new EarthManipulator() );
viewer.getCamera()->setSmallFeatureCullingPixelSize(-1.0f);
viewer.setSceneData( node );
Expand Down

0 comments on commit a4a63b9

Please sign in to comment.