From: saschawillems <webmaster@saschawillems.de>
Date: Tue, 30 Sep 2014 17:59:11 +0000 (+0200)
Subject: Fixed GL 4.5 version detection
X-Git-Url: https://git.delphigl.com/?a=commitdiff_plain;h=993e55390b97e2d382481d1e45106c4f380be21a;p=LazOpenGLCore.git

Fixed GL 4.5 version detection
---

diff --git a/dglOpenGL.pas b/dglOpenGL.pas
index 09fd40d..6601c87 100644
--- a/dglOpenGL.pas
+++ b/dglOpenGL.pas
@@ -19400,7 +19400,7 @@ begin
       GL_VERSION_4_3 := True;
     if MinorVersion >= 4 then
       GL_VERSION_4_4 := True;
-    if MinorVersion >= 4 then
+    if MinorVersion >= 5 then
       GL_VERSION_4_5:= True;
   end;