stw: Do not err on nil context handle in MakeCurrent().

This commit is contained in:
Michal Krol
2009-03-20 16:36:23 +01:00
parent 9bbffcced4
commit d6e877d0d7
@@ -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;