Fixed GL 4.5 version detection
authorsaschawillems <webmaster@saschawillems.de>
Tue, 30 Sep 2014 17:59:11 +0000 (19:59 +0200)
committersaschawillems <webmaster@saschawillems.de>
Tue, 30 Sep 2014 17:59:11 +0000 (19:59 +0200)
dglOpenGL.pas

index 09fd40d..6601c87 100644 (file)
@@ -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;