summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-09-27 01:07:10 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-10-30 02:05:49 +0200
commitce97ddbcb125228cc88fbfdcae932e110ee7daee (patch)
treef3e2f17be75973806d6f468826e0232cf35b247a /SConstruct
parente3491a37445014cc3527d6f2c1467063222b2dd8 (diff)
Rename GLES2 driver to OpenGL to prepare for the upgrade to GLES3
- Use lowercase driver names for the `--rendering-driver` command line argument.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct17
1 files changed, 4 insertions, 13 deletions
diff --git a/SConstruct b/SConstruct
index 72012ada99..cd4657b20c 100644
--- a/SConstruct
+++ b/SConstruct
@@ -15,7 +15,7 @@ from collections import OrderedDict
# Local
import methods
import glsl_builders
-import gles_builders
+import opengl_builders
from platform_methods import run_in_subprocess
# Scan possible build platforms
@@ -708,20 +708,11 @@ if selected_platform in platform_list:
}
env.Append(BUILDERS=GLSL_BUILDERS)
- if not env["platform"] == "server": # FIXME: detect GLES3
+ if not env["platform"] == "server":
env.Append(
BUILDERS={
- "GLES3_GLSL": env.Builder(
- action=run_in_subprocess(gles_builders.build_gles3_headers),
- suffix="glsl.gen.h",
- src_suffix=".glsl",
- )
- }
- )
- env.Append(
- BUILDERS={
- "GLES2_GLSL": env.Builder(
- action=run_in_subprocess(gles_builders.build_gles2_headers),
+ "OpenGL_GLSL": env.Builder(
+ action=run_in_subprocess(opengl_builders.build_opengl_headers),
suffix="glsl.gen.h",
src_suffix=".glsl",
)