diff options
Diffstat (limited to 'platform/x11/os_x11.h')
-rw-r--r-- | platform/x11/os_x11.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/platform/x11/os_x11.h b/platform/x11/os_x11.h index 25b406743b..5999e2840e 100644 --- a/platform/x11/os_x11.h +++ b/platform/x11/os_x11.h @@ -31,7 +31,7 @@ #ifndef OS_X11_H #define OS_X11_H -#include "context_gl_x11.h" +//#include "context_gl_x11.h" #include "core/os/input.h" #include "crash_handler_x11.h" #include "drivers/alsa/audio_driver_alsa.h" @@ -45,6 +45,8 @@ #include "servers/visual/rasterizer.h" #include "servers/visual_server.h" //#include "servers/visual/visual_server_wrap_mt.h" +#include "drivers/vulkan/rendering_device_vulkan.h" +#include "platform/x11/vulkan_context_x11.h" #include <X11/Xcursor/Xcursor.h> #include <X11/Xlib.h> @@ -94,6 +96,11 @@ class OS_X11 : public OS_Unix { #if defined(OPENGL_ENABLED) ContextGL_X11 *context_gl; #endif +#if defined(VULKAN_ENABLED) + VulkanContextX11 *context_vulkan; + RenderingDeviceVulkan *rendering_device; +#endif + //Rasterizer *rasterizer; VisualServer *visual_server; VideoMode current_videomode; |