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