+ /* Do nothing for a NULL system_context_id. (Don't ask me why,
+ * but Dota 2 likes to call MakeCurrent with a NULL context ID
+ * just before calling MakeCurrent with the same context it
+ * had been using before. We want to do nothing in this case.)
+ */
+ if (system_context_id == NULL)
+ return;
+