summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/egl/gdi
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-06-30 13:15:18 +0800
committerChia-I Wu <[email protected]>2010-06-30 14:00:43 +0800
commit8977879ec91b21572abd9bb95dcd0e72ba49f753 (patch)
treeec35ec8b2a70b1bc124728c8cd39b9f664bbf36b /src/gallium/state_trackers/egl/gdi
parent2f0b01826dbae60fed60c0d744d42a1a4cde4a84 (diff)
st/egl: Add egl-gdi target.
The target supports OpenVG on Windows with software rasterizer. The egl_g3d_loader defined by the target supports arbitrary client APIs and window systems. It is the SConscript that limits the support to OpenVG and GDI. This commit also fixes a typo in gdi backend.
Diffstat (limited to 'src/gallium/state_trackers/egl/gdi')
-rw-r--r--src/gallium/state_trackers/egl/gdi/native_gdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/gdi/native_gdi.c b/src/gallium/state_trackers/egl/gdi/native_gdi.c
index 06e3edfc391..91701e5b7df 100644
--- a/src/gallium/state_trackers/egl/gdi/native_gdi.c
+++ b/src/gallium/state_trackers/egl/gdi/native_gdi.c
@@ -363,7 +363,7 @@ gdi_create_display(HDC hDC, struct native_event_handler *event_handler,
return NULL;
}
- gdpy->base.screen = gdpy->event_handler->create_sw_screen(winsys);
+ gdpy->base.screen = gdpy->event_handler->new_sw_screen(&gdpy->base, winsys);
if (!gdpy->base.screen) {
if (winsys->destroy)
winsys->destroy(winsys);