summaryrefslogtreecommitdiff
path: root/SConstruct
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 /SConstruct
parentce97ddbcb125228cc88fbfdcae932e110ee7daee (diff)
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 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 3 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index cd4657b20c..78e3d28337 100644
--- a/SConstruct
+++ b/SConstruct
@@ -15,7 +15,7 @@ from collections import OrderedDict
# Local
import methods
import glsl_builders
-import opengl_builders
+import gles3_builders
from platform_methods import run_in_subprocess
# Scan possible build platforms
@@ -711,8 +711,8 @@ if selected_platform in platform_list:
if not env["platform"] == "server":
env.Append(
BUILDERS={
- "OpenGL_GLSL": env.Builder(
- action=run_in_subprocess(opengl_builders.build_opengl_headers),
+ "GLES3_GLSL": env.Builder(
+ action=run_in_subprocess(gles3_builders.build_gles3_headers),
suffix="glsl.gen.h",
src_suffix=".glsl",
)