Unix: Rename X11Display to X11Window and make it work again with Spectre/Window/Window
This commit is contained in:
parent
96f6725428
commit
45d3bff620
9 changed files with 60 additions and 62 deletions
|
|
@ -5,7 +5,7 @@
|
|||
// X11 OpenGL Context (glx)
|
||||
|
||||
#include "glad_glx.h"
|
||||
#include <Spectre/Display/GLContext.h>
|
||||
#include <Spectre/Window/GLContext.h>
|
||||
|
||||
namespace sp {
|
||||
|
||||
|
|
@ -15,8 +15,8 @@ public :
|
|||
GLXContext();
|
||||
~GLXContext();
|
||||
|
||||
// Create a context associated with a display.
|
||||
bool create(const PlatformDisplay* display);
|
||||
// Create a context associated with a window.
|
||||
bool create(const PlatformWindow* window);
|
||||
|
||||
void destroy();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue