summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/graw-gdi
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-11-10 20:29:57 +0000
committerJakob Bornecrantz <[email protected]>2010-11-10 23:05:17 +0000
commit89deebb1af7191e9fd7432c181b166d13c659f15 (patch)
treee4a30377a4f706e27e329d3b8e28bb762cd7eb14 /src/gallium/targets/graw-gdi
parentd4c60575f87241e9f1d0227c02c036a4bcf0967d (diff)
graw: Use inline sw helper instead of roll your own loader
Diffstat (limited to 'src/gallium/targets/graw-gdi')
-rw-r--r--src/gallium/targets/graw-gdi/graw_gdi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/targets/graw-gdi/graw_gdi.c b/src/gallium/targets/graw-gdi/graw_gdi.c
index 52a4e3cb231..bd6242b0779 100644
--- a/src/gallium/targets/graw-gdi/graw_gdi.c
+++ b/src/gallium/targets/graw-gdi/graw_gdi.c
@@ -28,10 +28,9 @@
#include "gdi/gdi_sw_winsys.h"
#include "pipe/p_screen.h"
-#include "softpipe/sp_public.h"
#include "state_tracker/graw.h"
-#include "sw/sw_public.h"
#include "target-helpers/wrap_screen.h"
+#include "target-helpers/inline_sw_helper.h"
#include <windows.h>
@@ -80,7 +79,7 @@ graw_create_window_and_screen(int x,
if (winsys == NULL)
goto fail;
- screen = softpipe_create_screen(winsys);
+ screen = sw_screen_create(winsys);
if (screen == NULL)
goto fail;