projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add user preference "GPU Mipmap Generation" under the System/OpenGL
[blender.git]
/
source
/
blender
/
gpu
/
GPU_draw.h
diff --git
a/source/blender/gpu/GPU_draw.h
b/source/blender/gpu/GPU_draw.h
index 89976699114586ba79d069a19e16e61bbade162c..438cfd6b741d6691f5dc8231255dfdbd35831a4f 100644
(file)
--- a/
source/blender/gpu/GPU_draw.h
+++ b/
source/blender/gpu/GPU_draw.h
@@
-112,6
+112,9
@@
void GPU_paint_set_mipmap(int mipmap);
void GPU_set_anisotropic(float value);
float GPU_get_anisotropic(void);
+/* enable gpu mipmapping */
+void GPU_set_gpu_mipmapping(int gpu_mipmap);
+
/* Image updates and free
* - these deal with images bound as opengl textures */