text: #include "SDL_gpu_OpenGL_1_BASE.h"
  #include "SDL_gpu_RendererImpl.h"
  
  
  #if defined(SDL_GPU_DISABLE_OPENGL) || defined(SDL_GPU_DISABLE_OPENGL_1_BASE)
  
  // Dummy implementations
  GPU_Renderer* GPU_CreateRenderer_OpenGL_1_BASE(GPU_RendererID request) {return NULL;}
  void GPU_FreeRenderer_OpenGL_1_BASE(GPU_Renderer* renderer) {}
  
  #else
  
  // Most of the code pulled in from here...
  #define SDL_GPU_USE_OPENGL
  #define SDL_GPU_DISABLE_SHADERS
  #define SDL_GPU_USE_FIXED_FUNCTION_PIPELINE
  #define SDL_GPU_GL_TIER 1
  #define SDL_GPU_GL_MAJOR_VERSION 1
  #define SDL_GPU_APPLY_TRANSFORMS_TO_GL_STACK
  #define SDL_GPU_NO_VAO
  
  #include "renderer_GL_common.inl"
  #include "renderer_shapes_GL_common.inl"
  
  
  GPU_Renderer* GPU_CreateRenderer_OpenGL_1_BASE(GPU_RendererID request)
  {
      GPU_Renderer* renderer = (GPU_Renderer*)SDL_malloc(sizeof(GPU_Renderer));
      if(renderer == NULL)
          return NULL;
  
      memset(renderer, 0, sizeof(GPU_Renderer));
  
      renderer->id = request;
      renderer->id.renderer = GPU_RENDERER_OPENGL_1_BASE;
      renderer->shader_language = GPU_LANGUAGE_NONE;
      renderer->shader_version = 0;
      
      renderer->current_context_target = NULL;
      
      renderer->impl = (GPU_RendererImpl*)SDL_malloc(sizeof(GPU_RendererImpl));
      memset(renderer->impl, 0, sizeof(GPU_RendererImpl));
      SET_COMMON_FUNCTIONS(renderer->impl);
  
      return renderer;
  }
  
  void GPU_FreeRenderer_OpenGL_1_BASE(GPU_Renderer* renderer)
  {
      if(renderer == NULL)
          return;
  
      SDL_free(renderer);
  }
  
  #endif
  