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

--HG--
branch : SDL-ryan-batching-renderer
extra : source : 5208dec7e274c9036cdb7ea205682f82f3ac2f7c
This commit is contained in:
Ryan C. Gordon 2018-09-20 16:36:54 -04:00
parent e7e52b63c0
commit 2316f6a784
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 */
typedef enum {
SHADER_INVALID = -1,
SHADER_NONE,
SHADER_SOLID,
SHADER_RGB,