diff options
author | Emil Velikov <[email protected]> | 2014-02-13 15:24:16 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-02-22 03:26:28 +0000 |
commit | 4f37e52f374b8b1d7177634dc09ab71e30e1779d (patch) | |
tree | 85f13d7c8ac044eb01628de73c0316f298f15922 /src/gallium/winsys/sw | |
parent | b4e8572bca60928c297e2b913ea1059aef104b98 (diff) |
winsys/xlib: move xlib_create_sw_winsys within the winsys
v2: Rebase on top of vl_winsys_xsp.c removal
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Jakob Bornecrantz <[email protected]> (v1)
Diffstat (limited to 'src/gallium/winsys/sw')
-rw-r--r-- | src/gallium/winsys/sw/xlib/xlib_sw_winsys.c | 3 | ||||
-rw-r--r-- | src/gallium/winsys/sw/xlib/xlib_sw_winsys.h | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c b/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c index bf246bc5d1d..88310718049 100644 --- a/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c +++ b/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c @@ -39,7 +39,8 @@ #include "util/u_math.h" #include "util/u_memory.h" -#include "state_tracker/xlib_sw_winsys.h" +#include "state_tracker/xlibsw_api.h" +#include "xlib_sw_winsys.h" #include <X11/Xlib.h> #include <X11/Xlibint.h> diff --git a/src/gallium/winsys/sw/xlib/xlib_sw_winsys.h b/src/gallium/winsys/sw/xlib/xlib_sw_winsys.h new file mode 100644 index 00000000000..0a1dad1496d --- /dev/null +++ b/src/gallium/winsys/sw/xlib/xlib_sw_winsys.h @@ -0,0 +1,10 @@ +#ifndef XLIB_SW_WINSYS +#define XLIB_SW_WINSYS + +#include <X11/Xlib.h> + +struct sw_winsys; + +struct sw_winsys *xlib_create_sw_winsys(Display *display); + +#endif |