Changeset 466 in flair-src for trunk/lib/FlairSimulator/src
- Timestamp:
- Mar 9, 2022, 10:29:38 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSimulator/src/Gui_impl.cpp
r365 r466 29 29 #include <unistd.h> 30 30 #include <sstream> 31 #include <sys/mman.h> 31 32 32 33 using namespace irr; … … 84 85 this->scene_width = scene_width; 85 86 this->scene_height = scene_height; 87 88 //unlock memory for GL simulator, otherwise it can cause problems when running simlator as non root 89 //(mmap can fail) 90 //memory was locked by FrameworkManager_impl constructor 91 munlockall(); 86 92 87 93 device = createDevice(driver_type, dimension2d<u32>(app_width, app_height),16, false, false, false);
Note:
See TracChangeset
for help on using the changeset viewer.