diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-11-27 02:14:52 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-11-27 02:14:52 +0300 |
commit | 9afa4619eddd61e2b125cf10bb13f567702f9d9e (patch) | |
tree | 8d2f0bfd5269a86f4377a9aabbd88b6e221eeb91 /source/blender/include/BDR_drawmesh.h | |
parent | 0cd62a9298663999fb567c1e8bd6384a5105f425 (diff) |
Disable mipmapping in texture paint mode, so fast redrawing will now
work by default for power-of-two textures.
Improved texture painting across different images a bit.
Diffstat (limited to 'source/blender/include/BDR_drawmesh.h')
-rw-r--r-- | source/blender/include/BDR_drawmesh.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/include/BDR_drawmesh.h b/source/blender/include/BDR_drawmesh.h index 15e18135c67..60c87308e20 100644 --- a/source/blender/include/BDR_drawmesh.h +++ b/source/blender/include/BDR_drawmesh.h @@ -48,11 +48,6 @@ struct EdgeHash; void set_mipmap(int mipmap); /** - * Returns the current setting for mipmapping. - */ -int get_mipmap(void); - -/** * Enables or disable linear mipmap setting for realtime images (textures). * Note that this will will destroy all texture bindings in OpenGL. * @see free_realtime_image() @@ -76,6 +71,10 @@ void free_realtime_image(struct Image *ima); void free_all_realtime_images(void); void make_repbind(struct Image *ima); int set_tpage(struct MTFace *tface); + +void texpaint_enable_mipmap(void); +void texpaint_disable_mipmap(void); + void draw_tface_mesh(struct Object *ob, struct Mesh *me, int dt); struct EdgeHash *get_tface_mesh_marked_edge_info(struct Mesh *me); void init_realtime_GL(void); |