aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/wgl/stw_st.c
diff options
context:
space:
mode:
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;