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.
This commit is contained in:
2016-10-10 12:30:55 -04:00
parent 6371f8ff8a
commit 587a16352a
4 changed files with 67 additions and 0 deletions

View File

@@ -31,6 +31,7 @@
#pragma once
#include "gawain/immediate.h"
#include "gawain/imm_util.h"
#include "GPU_shader.h"
/* Extend immBindProgram to use Blenders library of built-in shader programs.