summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/wgl
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-05-21 20:25:54 +0100
committerJakob Bornecrantz <[email protected]>2010-05-21 21:25:07 +0100
commit5f66363f8ed26d6f3fc8fcccde804fe1fea1bbaa (patch)
tree916e3de9803377bd28ae6ac8bd4b51100ec4e656 /src/gallium/state_trackers/wgl
parent0853401805fc95c71e237fe9b04ff023cd268361 (diff)
st_api: Add get param function to st_manager
Diffstat (limited to 'src/gallium/state_trackers/wgl')
-rw-r--r--src/gallium/state_trackers/wgl/stw_device.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_device.c b/src/gallium/state_trackers/wgl/stw_device.c
index 61b207525ca..a107c71bdab 100644
--- a/src/gallium/state_trackers/wgl/stw_device.c
+++ b/src/gallium/state_trackers/wgl/stw_device.c
@@ -48,6 +48,12 @@ extern _glthread_Mutex OneTimeLock;
struct stw_device *stw_dev = NULL;
+static int
+stw_get_param(struct st_manager *smapi,
+ enum st_manager_param param)
+{
+ return 0;
+}
boolean
stw_init(const struct stw_winsys *stw_winsys)
@@ -87,6 +93,7 @@ stw_init(const struct stw_winsys *stw_winsys)
stw_winsys->get_adapter_luid(screen, &stw_dev->AdapterLuid);
stw_dev->smapi->screen = screen;
+ stw_dev->smapi->get_param = stw_get_param;
stw_dev->screen = screen;
pipe_mutex_init( stw_dev->ctx_mutex );