binding an glxcontext without a drawable isn't possible in glx. Removing for now
parent
48867fe1e7
commit
19240182f6
|
@ -79,13 +79,6 @@ XcbGlContext::~XcbGlContext() {
|
|||
device->flush();
|
||||
}
|
||||
|
||||
void XcbGlContext::bind() {
|
||||
assert(device);
|
||||
if (device) {
|
||||
::glXMakeContextCurrent(device->display, None, None, context);
|
||||
}
|
||||
}
|
||||
|
||||
Own<GlWindow> XcbGlContext::createWindow(const VideoMode &video_mode,
|
||||
std::string_view title_view) {
|
||||
assert(device);
|
||||
|
|
|
@ -30,7 +30,6 @@ public:
|
|||
GLXContext, GLXFBConfig);
|
||||
~XcbGlContext();
|
||||
|
||||
void bind() override;
|
||||
Own<GlWindow> createWindow(const VideoMode &, std::string_view) override;
|
||||
|
||||
void flush() override;
|
||||
|
|
|
@ -51,7 +51,6 @@ class GlContext {
|
|||
public:
|
||||
virtual ~GlContext() = default;
|
||||
|
||||
virtual void bind() = 0;
|
||||
virtual Own<GlWindow> createWindow(const VideoMode &, std::string_view) = 0;
|
||||
|
||||
virtual void flush() = 0;
|
||||
|
|
Loading…
Reference in New Issue