st/wgl: make stw_lookup_context_locked() an inline function
[mesa.git] / src / gallium / state_trackers / wgl / stw_device.c
index c8087009759bd5b070cc2dc99f32ce7ce04a0812..8f2cf9c7a1c09e6315671d8f58a47028ccfd19e0 100644 (file)
@@ -190,19 +190,6 @@ stw_cleanup(void)
 }
 
 
-struct stw_context *
-stw_lookup_context_locked( DHGLRC dhglrc )
-{
-   if (dhglrc == 0)
-      return NULL;
-
-   if (stw_dev == NULL)
-      return NULL;
-
-   return (struct stw_context *) handle_table_get(stw_dev->ctx_table, dhglrc);
-}
-
-
 void APIENTRY
 DrvSetCallbackProcs(
    INT nProcs,