diff options
Diffstat (limited to 'src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.h')
-rw-r--r-- | src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.h b/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.h deleted file mode 100644 index 9e529ecad3d..00000000000 --- a/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef __NOUVEAU_DRM_WINSYS_H__ -#define __NOUVEAU_DRM_WINSYS_H__ - -#include "util/u_simple_screen.h" - -#include "nouveau_dri.h" - -struct nouveau_winsys { - struct pipe_winsys base; - - struct pipe_screen *pscreen; - - struct pipe_surface *front; -}; - -static INLINE struct nouveau_winsys * -nouveau_winsys(struct pipe_winsys *ws) -{ - return (struct nouveau_winsys *)ws; -} - -static INLINE struct nouveau_winsys * -nouveau_winsys_screen(struct pipe_screen *pscreen) -{ - return nouveau_winsys(pscreen->winsys); -} - -#endif |