summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/gl_manager_x11.h
diff options
context:
space:
mode:
authorClay John <claynjohn@gmail.com>2021-10-26 08:18:39 -0700
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-10-31 15:56:45 +0100
commit8a10bb7d0dd0cc03353bb751af25a0eca1357c9d (patch)
treeae63bd8b1d4bacd65673f7bc455994ed4d288a84 /platform/linuxbsd/gl_manager_x11.h
parentce97ddbcb125228cc88fbfdcae932e110ee7daee (diff)
downloadredot-engine-8a10bb7d0dd0cc03353bb751af25a0eca1357c9d.tar.gz
Use OpenGL 3.3 core profile instead of compatibility profile
- Rename OpenGL to GLES3 in the source code per community feedback. - The renderer is still exposed as "OpenGL 3" to the user. - Hide renderer selection dropdown until OpenGL support is more mature. - The renderer can still be changed in the Project Settings or using the `--rendering-driver opengl` command line argument. - Remove commented out exporter code. - Remove some OpenGL/DisplayServer-related debugging prints.
Diffstat (limited to 'platform/linuxbsd/gl_manager_x11.h')
-rw-r--r--platform/linuxbsd/gl_manager_x11.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/linuxbsd/gl_manager_x11.h b/platform/linuxbsd/gl_manager_x11.h
index e2e2545f3e..fa2c8a9c84 100644
--- a/platform/linuxbsd/gl_manager_x11.h
+++ b/platform/linuxbsd/gl_manager_x11.h
@@ -33,9 +33,9 @@
#ifdef X11_ENABLED
-#include "drivers/opengl/rasterizer_platforms.h"
+#include "drivers/gles3/rasterizer_platforms.h"
-#ifdef OPENGL_ENABLED
+#ifdef GLES3_ENABLED
#include "core/os/os.h"
#include "core/templates/local_vector.h"
@@ -124,7 +124,7 @@ public:
~GLManager_X11();
};
-#endif // OPENGL_ENABLED
+#endif // GLES3_ENABLED
#endif // X11_ENABLED
#endif // GL_MANAGER_X11_H