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:
authorCampbell Barton <ideasman42@gmail.com>2017-03-01 18:14:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-03-03 14:24:08 +0300
commit25de6108768ce4ea7132a5a2d88e0a93a0ea3909 (patch)
tree0c31b8626bf90d5904a74c19dff03219337b7fb4 /source/blender/gpu/GPU_select.h
parentcdfae957f2471a207d0118b8643272cfea49871b (diff)
Cleanup: redundant header, use const, short -> bool
Diffstat (limited to 'source/blender/gpu/GPU_select.h')
-rw-r--r--source/blender/gpu/GPU_select.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/gpu/GPU_select.h b/source/blender/gpu/GPU_select.h
index 6a16b5b7456..d3cb914976e 100644
--- a/source/blender/gpu/GPU_select.h
+++ b/source/blender/gpu/GPU_select.h
@@ -30,9 +30,10 @@
#ifndef __GPU_SELECT_H__
#define __GPU_SELECT_H__
-#include "DNA_vec_types.h" /* rcft */
#include "BLI_sys_types.h"
+struct rctf;
+
/* flags for mode of operation */
enum {
GPU_SELECT_ALL = 1,
@@ -40,7 +41,7 @@ enum {
GPU_SELECT_NEAREST_SECOND_PASS = 3,
};
-void GPU_select_begin(unsigned int *buffer, unsigned int bufsize, rctf *input, char mode, int oldhits);
+void GPU_select_begin(unsigned int *buffer, unsigned int bufsize, const struct rctf *input, char mode, int oldhits);
bool GPU_select_load_id(unsigned int id);
unsigned int GPU_select_end(void);
bool GPU_select_query_check_active(void);