diff options
Diffstat (limited to 'o3d/core/cross/gl/renderer_gl.h')
-rw-r--r-- | o3d/core/cross/gl/renderer_gl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/o3d/core/cross/gl/renderer_gl.h b/o3d/core/cross/gl/renderer_gl.h index 722e29e2..de2a8cb 100644 --- a/o3d/core/cross/gl/renderer_gl.h +++ b/o3d/core/cross/gl/renderer_gl.h @@ -78,6 +78,14 @@ class RendererGL : public Renderer { return fullscreen_; } + // Get a vector of the available fullscreen display modes. + // Clears *modes on error. + virtual void GetDisplayModes(std::vector<DisplayMode> *modes); + + // Get a single fullscreen display mode by id. + // Returns true on success, false on error. + virtual bool GetDisplayMode(int id, DisplayMode *mode); + // Resizes the viewport in OpenGL. virtual void Resize(int width, int height); |