projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bbffcc
)
stw: Do not err on nil context handle in MakeCurrent().
author
Michal Krol
<michal@vmware.com>
Fri, 20 Mar 2009 15:36:23 +0000
(16:36 +0100)
committer
Michal Krol
<michal@vmware.com>
Fri, 20 Mar 2009 15:36:23 +0000
(16:36 +0100)
src/gallium/state_trackers/wgl/shared/stw_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/wgl/shared/stw_context.c
b/src/gallium/state_trackers/wgl/shared/stw_context.c
index 31cb025ac56b80bac3ef26e811defb87528080d6..89df8b0a2a0340ed44fba313d9899c9e0459cbe7 100644
(file)
--- 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;