Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-08-15 00:50:51 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-08-18 22:30:10 +0300
commitba3c18f4b23e2154a81af4d765a19b136695dc05 (patch)
tree644432848d7704b4660ac7b4b2bc9fa6d1bfba00 /source/blender/gpu/opengl/gl_shader.hh
parente8c48ce0752d656da1eb102a38029a0c54d7e7c4 (diff)
GPUShader: Add back vertformat_from_shader()
Diffstat (limited to 'source/blender/gpu/opengl/gl_shader.hh')
-rw-r--r--source/blender/gpu/opengl/gl_shader.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/opengl/gl_shader.hh b/source/blender/gpu/opengl/gl_shader.hh
index 3bdc9aa80d5..0e37ea18d23 100644
--- a/source/blender/gpu/opengl/gl_shader.hh
+++ b/source/blender/gpu/opengl/gl_shader.hh
@@ -67,6 +67,8 @@ class GLShader : public Shader {
void uniform_float(int location, int comp_len, int array_size, const float *data) override;
void uniform_int(int location, int comp_len, int array_size, const int *data) override;
+ void vertformat_from_shader(GPUVertFormat *format) const override;
+
private:
char *glsl_patch_get(void);