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 d5ece6ae31f3f84e6a8a3fdb1f2c7cbe92e56675..8b1443403a3941c2c94a6b16cc6e74a1e3c94b97 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 a586ca57966e94f4eb920550359ce16c9653d88f..41e33002999dffd8127c3f56d5a6162c355d8aeb 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 82e2090c43256fc5768fc5865dcb19929eba7a72..426181e53049726a03ce17182b0bb983befeef83 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 53e07a50020b9a9da3300d3a7e8f12956d1010f9..b53771c92ae52cc7c2fb89143a116483e957b198 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 63155a956019e5ce94981750567efa76ea897b4d..f0e2f33491c00c94903d11a11e4d9fc4eee40a66 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 75e596935a31909078b8c6945aa02d410e10ed5b..6f552e087d7f007333e4d07adc1179bfbcafa6d6 100644 (file)
@@ -49,6 +49,7 @@
 #endif
 
 struct DerivedMesh;
+struct DMGridData;
 struct GHash;
 struct DMGridData;
 
index e0a47c0c5bcb6adedbb2f7b70a619d155426bf2d..bc90ddb23b7a14516c37a8e2bf39a140d3eeffd9 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 abbdbb4ac27757a525c123b45a697956ce4663f7..488eea405001c831f656243fe4ff6f2591da4ae0 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 acb3f5ea2543f9fab40968e3b7609bb752a16e99..db668390b881af2c67a1fb3908b8a4eaad2f71ae 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"