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:
authorMike Erwin <significant.bit@gmail.com>2016-10-10 19:30:55 +0300
committerMike Erwin <significant.bit@gmail.com>2016-10-10 19:31:38 +0300
commit587a16352a331cd8e54faca241e2f723e4c8be2d (patch)
treed0c9a69194b0fe84694727376c05fe886e74f772 /source/blender/gpu/GPU_immediate.h
parent6371f8ff8add8e64213496a0de153715ca794d39 (diff)
Gawain: add immRect utility functions (replaces legacy glRect)
Caller is responsible for setting up vertex format, binding a shader program, and setting the color *before* calling immRect.
Diffstat (limited to 'source/blender/gpu/GPU_immediate.h')
-rw-r--r--source/blender/gpu/GPU_immediate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_immediate.h b/source/blender/gpu/GPU_immediate.h
index 7c4b1614f37..8e7f91b0f7f 100644
--- a/source/blender/gpu/GPU_immediate.h
+++ b/source/blender/gpu/GPU_immediate.h
@@ -31,6 +31,7 @@
#pragma once
#include "gawain/immediate.h"
+#include "gawain/imm_util.h"
#include "GPU_shader.h"
/* Extend immBindProgram to use Blender’s library of built-in shader programs.