aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/wgl/stw_st.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-11-10 14:51:26 -0700
committerBrian Paul <[email protected]>2015-11-12 11:21:25 -0700
commit166769fe4bf4042ecb2a54ee5c7b23e3b0cd471d (patch)
tree50194983b7ef0fe618397ccfc148a6fbe2473be3 /src/gallium/state_trackers/wgl/stw_st.c
parentdabc423ed0f946bc32268a42dc8fee12a1cd0b0a (diff)
st/wgl: rename stw_framebuffer_release() to stw_framebuffer_unlock()
To match the new stw_framebuffer_lock() function. Reviewed-by: Sinclair Yeh <[email protected]> Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/wgl/stw_st.c')
-rw-r--r--src/gallium/state_trackers/wgl/stw_st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_st.c b/src/gallium/state_trackers/wgl/stw_st.c
index 6e5ccbb8d5c..ecf4cfcc843 100644
--- a/src/gallium/state_trackers/wgl/stw_st.c
+++ b/src/gallium/state_trackers/wgl/stw_st.c
@@ -149,7 +149,7 @@ stw_st_framebuffer_validate(struct st_context_iface *stctx,
pipe_resource_reference(&out[i], stwfb->textures[statts[i]]);
}
- stw_framebuffer_release(stwfb->fb);
+ stw_framebuffer_unlock(stwfb->fb);
return TRUE;
}
@@ -170,7 +170,7 @@ stw_st_framebuffer_present_locked(HDC hdc,
stw_framebuffer_present_locked(hdc, stwfb->fb, resource);
}
else {
- stw_framebuffer_release(stwfb->fb);
+ stw_framebuffer_unlock(stwfb->fb);
}
return TRUE;