frontend: Use inverted use_gles as a fallback for GL initialization. (#7117)

This commit is contained in:
Steveice10 2023-11-05 17:23:54 -08:00 committed by GitHub
parent e13735b624
commit 9b2a5926a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 75 additions and 41 deletions

View file

@ -77,6 +77,11 @@ class GraphicsContext {
public:
virtual ~GraphicsContext();
/// Checks whether this context uses OpenGL ES.
virtual bool IsGLES() {
return false;
}
/// Inform the driver to swap the front/back buffers and present the current image
virtual void SwapBuffers(){};