OpenGLContext: Add SupportsNegativeSwapInterval()

This commit is contained in:
Stenzek
2024-04-11 20:31:57 +10:00
parent 7b93edada1
commit 2ad67ad3ee
7 changed files with 51 additions and 19 deletions

View File

@@ -28,9 +28,10 @@ public:
bool ChangeSurface(const WindowInfo& new_wi) override;
void ResizeSurface(u32 new_surface_width = 0, u32 new_surface_height = 0) override;
bool SwapBuffers() override;
bool IsCurrent() override;
bool IsCurrent() const override;
bool MakeCurrent() override;
bool DoneCurrent() override;
bool SupportsNegativeSwapInterval() const override;
bool SetSwapInterval(s32 interval) override;
std::unique_ptr<OpenGLContext> CreateSharedContext(const WindowInfo& wi, Error* error) override;