diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-02-22 21:57:58 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-02-24 03:26:44 +0300 |
commit | e5799d13897e43410758af4fcef9e1e71a25e719 (patch) | |
tree | 368f19c5d950e1f2f6286aae6481ad79eb77dfbc /source/blender/gpu/gawain/batch.h | |
parent | 34c07c0d6d34e164e129787423f2f8085c2224c9 (diff) |
OpenGL immediate mode: gpu_framebuffer.c
I had to make some changes to the sep_gaussian_blur shader to be compliant for gl 3.3 leap
Diffstat (limited to 'source/blender/gpu/gawain/batch.h')
-rw-r--r-- | source/blender/gpu/gawain/batch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/gawain/batch.h b/source/blender/gpu/gawain/batch.h index 660ed9eb762..c12cc4e66a5 100644 --- a/source/blender/gpu/gawain/batch.h +++ b/source/blender/gpu/gawain/batch.h @@ -50,6 +50,7 @@ void Batch_set_program(Batch*, GLuint program); void Batch_use_program(Batch*); // call before Batch_Uniform (temp hack?) void Batch_done_using_program(Batch*); +void Batch_Uniform1i(Batch*, const char* name, int value); void Batch_Uniform1b(Batch*, const char* name, bool value); void Batch_Uniform1f(Batch*, const char* name, float value); void Batch_Uniform2f(Batch*, const char* name, float x, float y); |