From 993e55390b97e2d382481d1e45106c4f380be21a Mon Sep 17 00:00:00 2001 From: saschawillems Date: Tue, 30 Sep 2014 19:59:11 +0200 Subject: [PATCH] Fixed GL 4.5 version detection --- dglOpenGL.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.1.4