Fix a few compile warnings and rename gpu_buffers.h to GPU_buffers.h
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 14 Jul 2010 10:46:12 +0000 (10:46 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 14 Jul 2010 10:46:12 +0000 (10:46 +0000)
for consistency.

source/blender/blenkernel/intern/DerivedMesh.c
source/blender/blenkernel/intern/cdderivedmesh.c
source/blender/blenlib/intern/pbvh.c
source/blender/editors/sculpt_paint/sculpt.c
source/blender/editors/space_view3d/drawmesh.c
source/blender/gpu/GPU_buffers.h [moved from source/blender/gpu/gpu_buffers.h with 99% similarity]
source/blender/gpu/intern/gpu_buffers.c
source/blender/gpu/intern/gpu_draw.c
source/blender/windowmanager/intern/wm_init_exit.c

index d5ece6a..8b14434 100644 (file)
@@ -59,7 +59,7 @@
 #include "BIF_gl.h"
 #include "BIF_glutil.h"
 
-#include "gpu_buffers.h"
+#include "GPU_buffers.h"
 #include "GPU_draw.h"
 #include "GPU_extensions.h"
 #include "GPU_material.h"
index a586ca5..41e3300 100644 (file)
@@ -54,7 +54,7 @@
 
 #include "MEM_guardedalloc.h"
 
-#include "gpu_buffers.h"
+#include "GPU_buffers.h"
 #include "GPU_draw.h"
 #include "GPU_extensions.h"
 #include "GPU_material.h"
index 82e2090..426181e 100644 (file)
@@ -32,7 +32,7 @@
 #include "BKE_mesh.h" /* for mesh_calc_normals */
 #include "BKE_global.h" /* for mesh_calc_normals */
 
-#include "gpu_buffers.h"
+#include "GPU_buffers.h"
 
 #define LEAF_LIMIT 10000
 
index 53e07a5..b53771c 100644 (file)
@@ -82,7 +82,7 @@
 
 #include "RE_render_ext.h"
 
-#include "gpu_buffers.h"
+#include "GPU_buffers.h"
 
 #include <math.h>
 #include <stdlib.h>
index 63155a9..f0e2f33 100644 (file)
@@ -62,7 +62,7 @@
 
 #include "UI_resources.h"
 
-#include "gpu_buffers.h"
+#include "GPU_buffers.h"
 #include "GPU_extensions.h"
 #include "GPU_draw.h"
 
similarity index 99%
rename from source/blender/gpu/gpu_buffers.h
rename to source/blender/gpu/GPU_buffers.h
index 75e5969..6f552e0 100644 (file)
@@ -49,6 +49,7 @@
 #endif
 
 struct DerivedMesh;
+struct DMGridData;
 struct GHash;
 struct DMGridData;
 
index e0a47c0..bc90ddb 100644 (file)
@@ -49,7 +49,7 @@
 
 #include "DNA_userdef_types.h"
 
-#include "gpu_buffers.h"
+#include "GPU_buffers.h"
 
 #define GPU_BUFFER_VERTEX_STATE 1
 #define GPU_BUFFER_NORMAL_STATE 2
index abbdbb4..488eea4 100644 (file)
 #include "BLI_threads.h"
 #include "BLI_blenlib.h"
 
+#include "GPU_buffers.h"
+#include "GPU_draw.h"
 #include "GPU_extensions.h"
 #include "GPU_material.h"
-#include "GPU_draw.h"
-#include "gpu_buffers.h"
 
 #include "smoke_API.h"
 
index acb3f5e..db66839 100644 (file)
@@ -88,7 +88,7 @@
 #include "UI_interface.h"
 #include "BLF_api.h"
 
-#include "gpu_buffers.h"
+#include "GPU_buffers.h"
 #include "GPU_extensions.h"
 #include "GPU_draw.h"