Cleanup: unused code

This commit is contained in:
Campbell Barton
2019-01-17 11:17:45 +11:00
parent e57ee5934a
commit 00dd294a6e
2 changed files with 0 additions and 13 deletions

View File

@@ -1503,16 +1503,6 @@ static void _scan_for_ext_spring_forces(Scene *scene, Object *ob, float timenow,
}
}
static void scan_for_ext_spring_forces(struct Depsgraph *depsgraph, Scene *scene, Object *ob, float timenow)
{
SoftBody *sb = ob->soft;
ListBase *effectors = BKE_effectors_create(depsgraph, ob, NULL, sb->effector_weights);
_scan_for_ext_spring_forces(scene, ob, timenow, 0, sb->totspring, effectors);
BKE_effectors_free(effectors);
}
static void *exec_scan_for_ext_spring_forces(void *data)
{
SB_thread_context *pctx = (SB_thread_context*)data;

View File

@@ -437,9 +437,6 @@ void GPU_create_gl_tex(
{
ImBuf *ibuf = NULL;
int tpx = rectw;
int tpy = recth;
/* create image */
glGenTextures(1, (GLuint *)bind);
glBindTexture(textarget, *bind);