aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_valleys.h
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2016-02-09 07:08:31 +0100
committerest31 <MTest31@outlook.com>2016-03-07 19:54:26 +0100
commitd494733839e9cf6cb557462326ed21e7a58816c7 (patch)
tree07ead00672b0096aa2a60938b769bf030bba2951 /src/mapgen_valleys.h
parent88fbe7ca1e5451851ee0c7ab5524c39a7bb703c2 (diff)
downloadminetest-d494733839e9cf6cb557462326ed21e7a58816c7.tar.gz
minetest-d494733839e9cf6cb557462326ed21e7a58816c7.tar.bz2
minetest-d494733839e9cf6cb557462326ed21e7a58816c7.zip
Add minetest.register_lbm() to run code on block load only
Diffstat (limited to 'src/mapgen_valleys.h')
0 files changed, 0 insertions, 0 deletions
="hl opt">= driver->addRenderTargetTexture( screensize, "3d_render_hud", video::ECF_A8R8G8B8); } void RenderingCorePageflip::clearTextures() { driver->removeTexture(hud); } void RenderingCorePageflip::drawAll() { driver->setRenderTarget(hud, true, true, video::SColor(0, 0, 0, 0)); drawHUD(); driver->setRenderTarget(nullptr, false, false, skycolor); renderBothImages(); } void RenderingCorePageflip::useEye(bool _right) { driver->setRenderTarget(_right ? video::ERT_STEREO_RIGHT_BUFFER : video::ERT_STEREO_LEFT_BUFFER, true, true, skycolor); RenderingCoreStereo::useEye(_right); } void RenderingCorePageflip::resetEye() { driver->draw2DImage(hud, v2s32(0, 0)); driver->setRenderTarget(video::ERT_FRAME_BUFFER, false, false, skycolor); RenderingCoreStereo::resetEye(); }