From 794f9c89686dfbccc2597382d8c3ec6f0811b0b0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 18 Mar 2019 16:02:28 +0100 Subject: [PATCH] (GL) Add comments --- gfx/drivers/gl.c | 6 ++++++ gfx/drivers/gl1.c | 4 +++- gfx/drivers/gl_core.c | 6 ++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index f3cb78aec5..2b8c725ebe 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -15,6 +15,12 @@ * If not, see . */ +/* Middle of the road OpenGL driver. + * + * Minimum version (desktop): OpenGL 2.0+ + * Minimum version (mobile) : OpenGLES 2.0+ + */ + #ifdef _MSC_VER #pragma comment(lib, "opengl32") #endif diff --git a/gfx/drivers/gl1.c b/gfx/drivers/gl1.c index 77550ca204..5da24e03b5 100644 --- a/gfx/drivers/gl1.c +++ b/gfx/drivers/gl1.c @@ -15,7 +15,9 @@ * If not, see . */ -/* We are targeting a minimum of OpenGL 1.1 and the Microsoft "GDI Generic" software GL implementation. +/* OpenGL driver. + * + * We are targeting a minimum of OpenGL 1.1 and the Microsoft "GDI Generic" software GL implementation. * Any additional features added for later 1.x versions should only be enabled if they are detected at runtime. */ #include diff --git a/gfx/drivers/gl_core.c b/gfx/drivers/gl_core.c index ef3025e01e..63528444a3 100644 --- a/gfx/drivers/gl_core.c +++ b/gfx/drivers/gl_core.c @@ -13,6 +13,12 @@ * If not, see . */ +/* Modern OpenGL driver. + * + * Minimum version (desktop): OpenGL 3.2+ + * Minimum version (mobile) : OpenGLES 3.0+ + */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif