render: first shot at reworking opengl backend for new batching system.

This commit is contained in:
Ryan C. Gordon 2018-09-20 16:36:54 -04:00
parent 5fb67f9f55
commit 55cb9966db
2 changed files with 547 additions and 480 deletions

File diff suppressed because it is too large Load diff

View file

@ -23,6 +23,7 @@
/* OpenGL shader implementation */ /* OpenGL shader implementation */
typedef enum { typedef enum {
SHADER_INVALID = -1,
SHADER_NONE, SHADER_NONE,
SHADER_SOLID, SHADER_SOLID,
SHADER_RGB, SHADER_RGB,