mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
WorldRenderer refactor
This commit is contained in:
parent
8ea3db9962
commit
07dc12143e
4 changed files with 163 additions and 118 deletions
|
|
@ -29,7 +29,7 @@ void PostProcessing::use(GfxContext& context) {
|
|||
context.setFramebuffer(fbo.get());
|
||||
}
|
||||
|
||||
void PostProcessing::render(GfxContext& context, Shader* screenShader) {
|
||||
void PostProcessing::render(const GfxContext& context, Shader* screenShader) {
|
||||
if (fbo == nullptr) {
|
||||
throw std::runtime_error("'use(...)' was never called");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue