- More Documentation
- Vulkan Configuration Implementations - Fixed build errors on GCC and Clang
This commit is contained in:
@@ -32,15 +32,14 @@ wayland_eglsurface::wayland_eglsurface(wayland_window* win, eglcontext* ctx)
|
||||
win->get_config().rect.size.x, win->get_config().rect.size.y
|
||||
)
|
||||
) {
|
||||
|
||||
}
|
||||
|
||||
wayland_eglsurface::~wayland_eglsurface() {
|
||||
wl_egl_window_destroy(reinterpret_cast<wl_egl_window*>(_eglwindow));
|
||||
wl_egl_window_destroy(static_cast<wl_egl_window*>(_eglwindow));
|
||||
}
|
||||
|
||||
void wayland_eglsurface::resize(const ivec2& size) {
|
||||
wl_egl_window_resize(reinterpret_cast<wl_egl_window*>(_eglwindow), size.x, size.y, 0, 0);
|
||||
wl_egl_window_resize(static_cast<wl_egl_window*>(_eglwindow), size.x, size.y, 0, 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user