Draw Module: Move the Global Ubo block definition to it's own file.

This commit is contained in:
2017-03-22 21:26:27 +01:00
parent 4646ecf749
commit 26c140fbc8
13 changed files with 105 additions and 323 deletions

View File

@@ -316,6 +316,11 @@ GPUShader *DRW_shader_create(const char *vert, const char *geom, const char *fra
return GPU_shader_create(vert, frag, geom, NULL, defines, 0, 0, 0);
}
GPUShader *DRW_shader_create_with_lib(const char *vert, const char *geom, const char *frag, const char *lib, const char *defines)
{
return GPU_shader_create(vert, frag, geom, lib, defines, 0, 0, 0);
}
GPUShader *DRW_shader_create_2D(const char *frag, const char *defines)
{
return GPU_shader_create(datatoc_gpu_shader_2D_vert_glsl, frag, NULL, NULL, defines, 0, 0, 0);