text: #include "obpch.h"
  #include "Oberon/Renderer/GraphicsContext.h"
  
  #include "Oberon/Renderer/Renderer.h"
  #include "Platform/OpenGL/OpenGLContext.h"
  
  namespace Oberon {
  
  	Scope<GraphicsContext> GraphicsContext::Create(void* window)
  	{
  		switch (Renderer::GetAPI())
  		{
  		case RendererAPI::API::None:    OB_CORE_ASSERT(false, "RendererAPI::None is currently not supported!"); return nullptr;
  		case RendererAPI::API::OpenGL:  return CreateScope<OpenGLContext>(static_cast<GLFWwindow*>(window));
  		}
  
  		OB_CORE_ASSERT(false, "Unknown RendererAPI!");
  		return nullptr;
  	}
  
  }