Draw Manager: Use engine type pointer instead of engine name.

Faster search
This commit is contained in:
2017-04-03 19:32:05 +02:00
parent ccd8353d58
commit 4a8aaab0b2
20 changed files with 34 additions and 35 deletions

View File

@@ -83,7 +83,7 @@ typedef struct EDIT_LATTICE_Data {
/* Struct returned by DRW_viewport_engine_data_get.
* If you don't use one of these, just make it a (void *) */
// void *fbl;
char engine_name[32]; /* Required */
void *engine_type; /* Required */
EDIT_LATTICE_FramebufferList *fbl;
EDIT_LATTICE_TextureList *txl;
EDIT_LATTICE_PassList *psl;