aboutsummaryrefslogtreecommitdiff
path: root/util/sokol_gl.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2021-04-06 17:51:17 +0200
committerAndre Weissflog <floooh@gmail.com>2021-04-06 17:51:17 +0200
commit0d955d75cd909d778d15e040fe7b8cbf857e6cc0 (patch)
tree2c531339980bc6c4c6198f63a8b697f4fb933d94 /util/sokol_gl.h
parent1d1ebc0ff2e7c090cc85db9d8dac541849f04fc6 (diff)
fix compilation with dummy backend in various util headers
Diffstat (limited to 'util/sokol_gl.h')
-rw-r--r--util/sokol_gl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/sokol_gl.h b/util/sokol_gl.h
index e41fc06b..eb8879cb 100644
--- a/util/sokol_gl.h
+++ b/util/sokol_gl.h
@@ -2745,8 +2745,8 @@ SOKOL_API_IMPL void sgl_setup(const sgl_desc_t* desc) {
shd_desc.vs.bytecode = SG_RANGE(_sgl_vs_bytecode_wgpu);
shd_desc.fs.bytecode = SG_RANGE(_sgl_fs_bytecode_wgpu);
#else
- shd_desc.vs.source = _sgl_vs_src_dummy;
- shd_desc.fs.source = _sgl_fs_src_dummy;
+ shd_desc.vs.source = _sgl_vs_source_dummy;
+ shd_desc.fs.source = _sgl_fs_source_dummy;
#endif
_sgl.shd = sg_make_shader(&shd_desc);
SOKOL_ASSERT(SG_INVALID_ID != _sgl.shd.id);