Skip to content

Commit

Permalink
Update opengl.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
rtoumazet committed Sep 6, 2024
1 parent e044ac9 commit 0505538
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions saturnin/src/video/opengl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const std::unordered_map<VdpLayer, std::string> layer_to_name = {
{VdpLayer::undefined, "undefined"}
};

Opengl::Opengl(core::Config* config) : config_(config){};
Opengl::Opengl(core::Config* config) : config_(config) {};

Opengl::~Opengl() { shutdown(); }

Expand Down Expand Up @@ -253,7 +253,7 @@ void Opengl::displayFramebuffer(core::EmulatorContext& state) {
}
};

for (auto priority = 7; priority > 0; --priority) {
for (u8 priority = 7; priority > 0; --priority) {
for (const auto& screen : screens_to_display) {
addVdp2PartsToList(screen, priority);
}
Expand Down

0 comments on commit 0505538

Please sign in to comment.