X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpostprocessor.cpp;h=26330a4d08b3d03a1f5df88711e681f519482327;hb=4fe225bf15048fcb7a678370f87d09f2de37031a;hp=3c6fbebe89b5704b64a6fd1428a6259fc76f34bb;hpb=34446c94b58602c0c6e610b889691f0c1645555f;p=libs%2Fgl.git diff --git a/source/postprocessor.cpp b/source/postprocessor.cpp index 3c6fbebe..26330a4d 100644 --- a/source/postprocessor.cpp +++ b/source/postprocessor.cpp @@ -20,6 +20,11 @@ const char fullscreen_vs_source[] = namespace Msp { namespace GL { +void PostProcessor::render(Renderer &, const Texture2D &color, const Texture2D &depth) +{ + render(color, depth); +} + Shader &PostProcessor::get_fullscreen_vertex_shader() { static VertexShader shader(fullscreen_vs_source); @@ -34,7 +39,7 @@ const Mesh &PostProcessor::get_fullscreen_quad() const Mesh &PostProcessor::create_fullscreen_quad() { - static Mesh mesh(GL::VERTEX2); + static Mesh mesh(VERTEX2); MeshBuilder builder(mesh); builder.begin(TRIANGLE_STRIP); builder.vertex(-1, 1);