Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-07-14 14:46:12 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-07-14 14:46:12 +0400
commitf406cf4ac82510c6b064d9411ec0cbd38a0ef7e0 (patch)
tree0a921f1f8721f57163a10ba138ca9213244e0f36 /source/blender/gpu
parentee9437f794d0c583a3535b94ab22231a1f3a4f58 (diff)
Fix a few compile warnings and rename gpu_buffers.h to GPU_buffers.h
for consistency.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/GPU_buffers.h (renamed from source/blender/gpu/gpu_buffers.h)1
-rw-r--r--source/blender/gpu/intern/gpu_buffers.c2
-rw-r--r--source/blender/gpu/intern/gpu_draw.c4
3 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/gpu/gpu_buffers.h b/source/blender/gpu/GPU_buffers.h
index 75e596935a3..6f552e087d7 100644
--- a/source/blender/gpu/gpu_buffers.h
+++ b/source/blender/gpu/GPU_buffers.h
@@ -49,6 +49,7 @@
#endif
struct DerivedMesh;
+struct DMGridData;
struct GHash;
struct DMGridData;
diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c
index e0a47c0c5bc..bc90ddb23b7 100644
--- a/source/blender/gpu/intern/gpu_buffers.c
+++ b/source/blender/gpu/intern/gpu_buffers.c
@@ -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
diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c
index abbdbb4ac27..488eea40500 100644
--- a/source/blender/gpu/intern/gpu_draw.c
+++ b/source/blender/gpu/intern/gpu_draw.c
@@ -65,10 +65,10 @@
#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"