]> git.tdb.fi Git - libs/gl.git/commitdiff
Add missing Require to Commands::resolve_multisample
authorMikko Rasa <tdb@tdb.fi>
Sat, 18 Sep 2021 12:54:11 +0000 (15:54 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 18 Sep 2021 13:20:18 +0000 (16:20 +0300)
source/core/commands.cpp

index 563c4a83d549175a34d61f65339a19e98fa9816b..97da5dadbe9cbc29dcfcbf22a36009decdd79072 100644 (file)
@@ -46,6 +46,8 @@ void Commands::draw_instanced(const Batch &batch, unsigned count)
 
 void Commands::resolve_multisample(Framebuffer &target, BufferBits buffers)
 {
+       static Require _req(EXT_framebuffer_blit);
+
        const Framebuffer *source = pipeline_state->get_framebuffer();
 
        unsigned width = min(source->get_width(), target.get_width());