[Bf-blender-cvs] [a7388d650a8] blender2.8: Fix empty struct errors in paint_vertex_mode.c

Luca Rood noreply at git.blender.org
Fri May 5 11:39:25 CEST 2017


Commit: a7388d650a8b0045aee680ca38cc02fc021ebbc3
Author: Luca Rood
Date:   Fri May 5 11:38:15 2017 +0200
Branches: blender2.8
https://developer.blender.org/rBa7388d650a8b0045aee680ca38cc02fc021ebbc3

Fix empty struct errors in paint_vertex_mode.c

===================================================================

M	source/blender/draw/modes/paint_vertex_mode.c

===================================================================

diff --git a/source/blender/draw/modes/paint_vertex_mode.c b/source/blender/draw/modes/paint_vertex_mode.c
index ce09307bc0c..6c16601e850 100644
--- a/source/blender/draw/modes/paint_vertex_mode.c
+++ b/source/blender/draw/modes/paint_vertex_mode.c
@@ -45,20 +45,14 @@ typedef struct PAINT_VERTEX_PassList {
 	struct DRWPass *wire_overlay;
 } PAINT_VERTEX_PassList;
 
-typedef struct PAINT_VERTEX_FramebufferList {
-} PAINT_VERTEX_FramebufferList;
-
-typedef struct PAINT_VERTEX_TextureList {
-} PAINT_VERTEX_TextureList;
-
 typedef struct PAINT_VERTEX_StorageList {
 	struct PAINT_VERTEX_PrivateData *g_data;
 } PAINT_VERTEX_StorageList;
 
 typedef struct PAINT_VERTEX_Data {
 	void *engine_type; /* Required */
-	PAINT_VERTEX_FramebufferList *fbl;
-	PAINT_VERTEX_TextureList *txl;
+	DRWViewportEmptyList *fbl;
+	DRWViewportEmptyList *txl;
 	PAINT_VERTEX_PassList *psl;
 	PAINT_VERTEX_StorageList *stl;
 } PAINT_VERTEX_Data;




More information about the Bf-blender-cvs mailing list