From 0571b75fa5ed5b18510375c59d462248cfe6cd6c Mon Sep 17 00:00:00 2001
From: Connor McLaughlin <stenzek@gmail.com>
Date: Mon, 25 May 2020 18:36:52 +1000
Subject: [PATCH] GL/Context: Print GL_SHADING_LANGUAGE_VERSION on creation

---
 src/common/gl/context.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/common/gl/context.cpp b/src/common/gl/context.cpp
index 1e36f96a7..2548d722f 100644
--- a/src/common/gl/context.cpp
+++ b/src/common/gl/context.cpp
@@ -119,9 +119,11 @@ std::unique_ptr<GL::Context> Context::Create(const WindowInfo& wi, const Version
   const char* gl_vendor = reinterpret_cast<const char*>(glGetString(GL_VENDOR));
   const char* gl_renderer = reinterpret_cast<const char*>(glGetString(GL_RENDERER));
   const char* gl_version = reinterpret_cast<const char*>(glGetString(GL_VERSION));
+  const char* gl_shading_language_version = reinterpret_cast<const char*>(glGetString(GL_SHADING_LANGUAGE_VERSION));
   Log_InfoPrintf("GL_VENDOR: %s", gl_vendor);
   Log_InfoPrintf("GL_RENDERER: %s", gl_renderer);
   Log_InfoPrintf("GL_VERSION: %s", gl_version);
+  Log_InfoPrintf("GL_SHADING_LANGUAGE_VERSION: %s", gl_shading_language_version);
 
   return context;
 }