summaryrefslogtreecommitdiff
path: root/drivers/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/SCsub')
-rw-r--r--drivers/SCsub8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/SCsub b/drivers/SCsub
index daa5ff623b..2c5e9434e8 100644
--- a/drivers/SCsub
+++ b/drivers/SCsub
@@ -22,8 +22,12 @@ if env['xaudio2']:
SConscript("xaudio2/SCsub")
# Graphics drivers
-SConscript('gles3/SCsub')
-SConscript('gl_context/SCsub')
+if (env["platform"] != "server"):
+ SConscript('gles3/SCsub')
+ SConscript('gles2/SCsub')
+ SConscript('gl_context/SCsub')
+else:
+ SConscript('dummy/SCsub')
# Core dependencies
SConscript("png/SCsub")