1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-25 05:26:40 -05:00

bootmanager: Eliminate variable shadowing

This commit is contained in:
Morph
2022-06-13 17:30:41 -04:00
parent e29e8eec2f
commit 2d903e3ce6

View File

@@ -127,7 +127,7 @@ void EmuThread::run() {
class OpenGLSharedContext : public Core::Frontend::GraphicsContext {
public:
/// Create the original context that should be shared from
explicit OpenGLSharedContext(QSurface* surface) : surface(surface) {
explicit OpenGLSharedContext(QSurface* surface_) : surface{surface_} {
QSurfaceFormat format;
format.setVersion(4, 6);
format.setProfile(QSurfaceFormat::CompatibilityProfile);