Skip to content

Commit

Permalink
Allow for using opengl without any threads (#8706)
Browse files Browse the repository at this point in the history
  • Loading branch information
JCash committed Mar 25, 2024
1 parent 6094937 commit 452db76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engine/graphics/src/opengl/graphics_opengl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,8 @@ static void LogFrameBufferError(GLenum status)
{
if (!context->m_AsyncProcessingSupport)
return;
if (!context->m_JobThread)
return;

// TODO: If we have multiple workers, we need to either tag one of them as a graphics-only worker,
// or create multiple aux contexts and do an acquire for each of them.
Expand Down

0 comments on commit 452db76

Please sign in to comment.