Commit 46a9e6cd authored by schultezub's avatar schultezub
Browse files

minor fix in VolumeRenderer, added SSE2 optimization flag for MSVC builds

git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@491 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
parent d4266712
......@@ -88,6 +88,9 @@ IF(WIN32)
# prevent error: number of sections exceeded object file format limit
LIST(APPEND CampvisGlobalDefinitions /bigobj)
# enable SSE2 instructions for MSVC
LIST(APPEND CampvisGlobalDefinitions /arch:SSE2)
# allows 32 Bit builds to use more than 2GB RAM (VC++ only)
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /LARGEADDRESSAWARE")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /LARGEADDRESSAWARE")
......
......@@ -85,6 +85,10 @@ namespace campvis {
}
void VolumeRenderer::deinit() {
_pgGenerator.s_invalidated.disconnect(this);
_eepGenerator.s_invalidated.disconnect(this);
_raycaster.s_invalidated.disconnect(this);
_pgGenerator.deinit();
_eepGenerator.deinit();
_raycaster.deinit();
......
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