summaryrefslogtreecommitdiff
path: root/include/SFML/OpenGL.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/SFML/OpenGL.hpp')
-rw-r--r--include/SFML/OpenGL.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/SFML/OpenGL.hpp b/include/SFML/OpenGL.hpp
index 39e97b6..6db5d01 100644
--- a/include/SFML/OpenGL.hpp
+++ b/include/SFML/OpenGL.hpp
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
-// Copyright (C) 2007-2017 Laurent Gomila (laurent@sfml-dev.org)
+// Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages arising from the use of this software.
@@ -45,7 +45,7 @@
#include <GL/gl.h>
-#elif defined(SFML_SYSTEM_LINUX) || defined(SFML_SYSTEM_FREEBSD)
+#elif defined(SFML_SYSTEM_LINUX) || defined(SFML_SYSTEM_FREEBSD) || defined(SFML_SYSTEM_OPENBSD)
#if defined(SFML_OPENGL_ES)
#include <GLES/gl.h>
@@ -69,6 +69,7 @@
#include <GLES/glext.h>
// We're not using OpenGL ES 2+ yet, but we can use the sRGB extension
+ #include <GLES2/gl2platform.h>
#include <GLES2/gl2ext.h>
#endif