aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/d3dadapter9
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-10-06 23:04:22 +0100
committerEmil Velikov <[email protected]>2015-11-21 12:52:17 +0000
commitf9c9471b768593d61c486f7a9c0dac52e22fff65 (patch)
treefb732abe9b641c1c1a63c2e94b1b0b3a02193a2b /src/gallium/targets/d3dadapter9
parent6bcd5f0d02fff2db0c330af7d139d7a60b59e0e2 (diff)
targets/nine: use the existing sw_screen_wrap() over our custom version
Cc: Axel Davy <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Acked-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/targets/d3dadapter9')
-rw-r--r--src/gallium/targets/d3dadapter9/Makefile.am1
-rw-r--r--src/gallium/targets/d3dadapter9/drm.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/targets/d3dadapter9/Makefile.am b/src/gallium/targets/d3dadapter9/Makefile.am
index d36a8b80b74..7ec5c834419 100644
--- a/src/gallium/targets/d3dadapter9/Makefile.am
+++ b/src/gallium/targets/d3dadapter9/Makefile.am
@@ -36,7 +36,6 @@ AM_CFLAGS = \
if HAVE_GALLIUM_STATIC_TARGETS
AM_CPPFLAGS = \
- -DNINE_TARGET \
-DGALLIUM_STATIC_TARGETS=1
else
diff --git a/src/gallium/targets/d3dadapter9/drm.c b/src/gallium/targets/d3dadapter9/drm.c
index fabc820f268..89789fa3da9 100644
--- a/src/gallium/targets/d3dadapter9/drm.c
+++ b/src/gallium/targets/d3dadapter9/drm.c
@@ -30,7 +30,7 @@
#include "pipe/p_state.h"
#include "target-helpers/inline_drm_helper.h"
-#include "target-helpers/inline_sw_helper.h"
+#include "target-helpers/inline_wrapper_sw_helper.h"
#include "state_tracker/drm_driver.h"
#include "d3dadapter/d3dadapter9.h"
@@ -309,7 +309,7 @@ drm_create_adapter( int fd,
driDestroyOptionInfo(&defaultInitOptions);
#if GALLIUM_STATIC_TARGETS
- ctx->base.ref = ninesw_create_screen(ctx->base.hal);
+ ctx->base.ref = sw_screen_wrap(ctx->base.hal);
#else
/* wrap it to create a software screen that can share resources */
if (pipe_loader_sw_probe_wrapped(&ctx->swdev, ctx->base.hal)) {