aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/wgl/stw_framebuffer.h
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_framebuffer.h
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_framebuffer.h')
-rw-r--r--src/gallium/state_trackers/wgl/stw_framebuffer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_framebuffer.h b/src/gallium/state_trackers/wgl/stw_framebuffer.h
index ce9aace7aa0..109c79dd002 100644
--- a/src/gallium/state_trackers/wgl/stw_framebuffer.h
+++ b/src/gallium/state_trackers/wgl/stw_framebuffer.h
@@ -113,7 +113,7 @@ struct stw_framebuffer
/**
* Create a new framebuffer object which will correspond to the given HDC.
*
- * This function will acquire stw_framebuffer::mutex. stw_framebuffer_release
+ * This function will acquire stw_framebuffer::mutex. stw_framebuffer_unlock
* must be called when done
*/
struct stw_framebuffer *
@@ -126,7 +126,7 @@ stw_framebuffer_reference(struct stw_framebuffer **ptr,
/**
* Search a framebuffer with a matching HWND.
*
- * This function will acquire stw_framebuffer::mutex. stw_framebuffer_release
+ * This function will acquire stw_framebuffer::mutex. stw_framebuffer_unlock
* must be called when done
*/
struct stw_framebuffer *
@@ -135,7 +135,7 @@ stw_framebuffer_from_hwnd(HWND hwnd);
/**
* Search a framebuffer with a matching HDC.
*
- * This function will acquire stw_framebuffer::mutex. stw_framebuffer_release
+ * This function will acquire stw_framebuffer::mutex. stw_framebuffer_unlock
* must be called when done
*/
struct stw_framebuffer *
@@ -164,7 +164,7 @@ stw_framebuffer_lock(struct stw_framebuffer *fb)
* in the meanwhile.
*/
static inline void
-stw_framebuffer_release(struct stw_framebuffer *fb)
+stw_framebuffer_unlock(struct stw_framebuffer *fb)
{
assert(fb);
LeaveCriticalSection(&fb->mutex);