frontend: Use inverted use_gles as a fallback for GL initialization. (#7117)
This commit is contained in:
parent
e13735b624
commit
9b2a5926a6
3 changed files with 75 additions and 41 deletions
|
@ -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(){};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue