mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-25 20:42:35 +00:00
rhi gl: Allow create_pipeline in gfx ctx
This function impl does not change any GL drawing state, and neither should Vulkan, so the constraint that this function not be called while a graphics context is active is not necessary.
This commit is contained in:
parent
aa48237928
commit
be869aefc6
1 changed files with 0 additions and 1 deletions
|
|
@ -886,7 +886,6 @@ void GlCoreRhi::destroy_renderbuffer(rhi::Handle<rhi::Renderbuffer> handle)
|
|||
|
||||
rhi::Handle<rhi::Pipeline> GlCoreRhi::create_pipeline(const PipelineDesc& desc)
|
||||
{
|
||||
SRB2_ASSERT(graphics_context_active_ == false);
|
||||
SRB2_ASSERT(platform_ != nullptr);
|
||||
// TODO assert compatibility of pipeline description with program using ProgramRequirements
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue