Skip to content

Commit 4080078

Browse files
committed
Merge branch 'master' into feature/osgQOpenGL
2 parents 814bd5f + 6d324db commit 4080078

File tree

4 files changed

+86
-3
lines changed

4 files changed

+86
-3
lines changed

.gitignore

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,80 @@
1-
/build
1+
doc/all_Doxyfile
2+
doc/auto_Doxyfile
3+
doc/core_Doxyfile
4+
doc/openscenegraph.doxyfile
5+
doc/openthreads.doxyfile
6+
7+
doc/OpenSceneGraphReferenceDocs/
8+
doc/OpenThreadsReferenceDocs/
9+
10+
cmake_uninstall.cmake
11+
12+
include/OpenThreads/Config
13+
include/OpenThreads/Version
14+
include/osg/Config
15+
include/osg/GL
16+
include/osg/Version
17+
include/osgQt/Version
18+
src/osgQt/__
19+
20+
lib/
21+
bin/
22+
23+
*.pc
24+
*.conf
25+
CMakeCache.txt
26+
CMakeFiles
27+
CMakeScripts
28+
Makefile
29+
cmake_install.cmake
30+
install_manifest.txt
31+
32+
33+
# Compiled Object files
34+
*.slo
35+
*.lo
36+
*.o
37+
*.obj
38+
39+
# Precompiled Headers
40+
*.gch
41+
*.pch
42+
43+
# Compiled Dynamic libraries
44+
*.so
45+
*.dylib
46+
*.dll
47+
48+
# Fortran module files
49+
*.mod
50+
51+
# Compiled Static libraries
52+
*.lai
53+
*.la
54+
*.a
55+
*.lib
56+
57+
# Executables
58+
*.exe
59+
*.out
60+
*.app
61+
62+
# Platform Specifics - auto generated files
63+
PlatformSpecifics/Windows/*.rc
64+
65+
# Visual studio - project files
66+
*.sln
67+
*.suo
68+
*.vcxproj
69+
*.vcxproj.filters
70+
*.vcxproj.user
71+
72+
# Visual Studio - Build Results
73+
[Dd]ebug/
74+
[Rr]elease/
75+
[Mm]in[Ss]ize[Rr]el/
76+
[Rr]el[Ww]ith[Dd]eb[Ii]nfo/
77+
78+
# Visual Studio - Browsing Database File
79+
*.sdf
80+
*.opensdf

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ IF(CMAKE_CPACK_COMMAND)
854854
ENDIF()
855855

856856
# Generate pkg-config configuration files
857-
SET ( PKGCONFIG_MODULE_NAME osgQt )
857+
SET ( PKGCONFIG_MODULE_NAME osgQt )
858858

859859
CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/packaging/pkgconfig/openscenegraph-osgQt.pc.in
860860
${PROJECT_BINARY_DIR}/packaging/pkgconfig/openscenegraph-${PKGCONFIG_MODULE_NAME}.pc

examples/osgqfont/osgqfont.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,10 @@ class MainWindow : public QWidget {
503503
camera->setGraphicsContext(graphicsWindow);
504504
camera->setViewport(new osg::Viewport(0, 0, width(), height()));
505505

506+
// set the draw and read buffers up for a double buffered window with rendering going to back buffer
507+
camera->setDrawBuffer(GL_BACK);
508+
camera->setReadBuffer(GL_BACK);
509+
506510
startTimer(10);
507511
}
508512

examples/osgviewerQt/osgviewerQt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#include <iostream>
4040

4141

42-
int main(int argc, char** argv)
42+
int main( int argc, char** argv )
4343
{
4444

4545

0 commit comments

Comments
 (0)