diff options
author | Michal Krol <[email protected]> | 2009-03-20 16:36:23 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-03-20 16:36:23 +0100 |
commit | d6e877d0d716805907cbbaca3bcfcee84f98add6 (patch) | |
tree | 664789856151b65b5d6f3a9197e9bb6720556e19 /src/gallium/state_trackers/wgl | |
parent | 9bbffcced4355ff11e11c5b01c4d0eea6b020119 (diff) |
stw: Do not err on nil context handle in MakeCurrent().
Diffstat (limited to 'src/gallium/state_trackers/wgl')
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_context.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_context.c b/src/gallium/state_trackers/wgl/shared/stw_context.c index 31cb025ac56..89df8b0a2a0 100644 --- a/src/gallium/state_trackers/wgl/shared/stw_context.c +++ b/src/gallium/state_trackers/wgl/shared/stw_context.c @@ -281,9 +281,6 @@ stw_make_current( pipe_mutex_lock( stw_dev->mutex ); ctx = stw_lookup_context( hglrc ); pipe_mutex_unlock( stw_dev->mutex ); - - if (ctx == NULL) - return FALSE; stw_tls_get_data()->currentDC = hdc; stw_tls_get_data()->currentGLRC = hglrc; |