Simplify mesh temporary.
Until we move this code to the exporter.
This commit is contained in:
parent
94c65434df
commit
c5e31c96b1
@ -841,7 +841,8 @@ scene::IMesh *IrrDriver::getMesh(const std::string &filename)
|
||||
filename.c_str());
|
||||
return NULL;
|
||||
}
|
||||
return am->getMesh(0);
|
||||
scene::IMeshManipulator *mani = irr_driver->getVideoDriver()->getMeshManipulator();
|
||||
return mani->createMeshWelded(am->getMesh(0));
|
||||
} // getMesh
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -786,12 +786,12 @@ void PostProcessing::render(scene::ICameraSceneNode * const camnode)
|
||||
|
||||
//computeLogLuminance(in_rtt);
|
||||
{
|
||||
PROFILER_PUSH_CPU_MARKER("- Tonemap", 0xFF, 0x00, 0x00);
|
||||
// PROFILER_PUSH_CPU_MARKER("- Tonemap", 0xFF, 0x00, 0x00);
|
||||
ScopedGPUTimer Timer(irr_driver->getGPUTimer(Q_TONEMAP));
|
||||
toneMap(out_fbo, in_rtt);
|
||||
std::swap(in_rtt, out_rtt);
|
||||
std::swap(in_fbo, out_fbo);
|
||||
PROFILER_POP_CPU_MARKER();
|
||||
// PROFILER_POP_CPU_MARKER();
|
||||
}
|
||||
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user