Update Window.h
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m30s
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 1m30s
This commit is contained in:
@@ -55,7 +55,7 @@ public:
|
|||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <X11/Xutil.h>
|
#include <X11/Xutil.h>
|
||||||
#include <X11/Xatom.h>
|
#include <X11/Xatom.h>
|
||||||
//TODO Interfaces to hind the need for this.
|
//TODO Interfaces to hide the need for this.
|
||||||
struct XVars {
|
struct XVars {
|
||||||
Window window;
|
Window window;
|
||||||
XEvent xev;
|
XEvent xev;
|
||||||
@@ -345,6 +345,7 @@ public:
|
|||||||
virtual void Open() = 0;
|
virtual void Open() = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// TODO in the event that we can't find OpenGL or the Open() fails, have a way to say so without throwing an exception.
|
||||||
class ReWindow::OpenGLWindow : public RWindow {
|
class ReWindow::OpenGLWindow : public RWindow {
|
||||||
protected:
|
protected:
|
||||||
uint8_t gl_major, gl_minor;
|
uint8_t gl_major, gl_minor;
|
||||||
|
Reference in New Issue
Block a user