Skip to content

Commit

Permalink
Coding, StGLContext - suppress -Wmaybe-uninitialized on GCC13.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gkv311 committed Sep 29, 2024
1 parent 0410d63 commit 4e5a390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StShared/StGLContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ void StGLContext::stglSetScissorRect(const StGLBoxPx& theRect,
core11fwd->glEnable(GL_SCISSOR_TEST);
}
if(thePushStack || myScissorStack.empty()) {
StGLBoxPx aDummyRect; // will be initialized right after
StGLBoxPx aDummyRect = {{0, 0, 0, 0}}; // will be initialized right after
myScissorStack.push(aDummyRect);
}

Expand Down

0 comments on commit 4e5a390

Please sign in to comment.