[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60634] trunk/blender/source/blender/ editors/sculpt_paint/paint_cursor.c: minor code cleanup.
Antony Riakiotakis
kalast at gmail.com
Wed Oct 9 18:04:09 CEST 2013
Revision: 60634
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60634
Author: psy-fi
Date: 2013-10-09 16:04:08 +0000 (Wed, 09 Oct 2013)
Log Message:
-----------
minor code cleanup.
Modified Paths:
--------------
trunk/blender/source/blender/editors/sculpt_paint/paint_cursor.c
Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_cursor.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_cursor.c 2013-10-09 16:00:15 UTC (rev 60633)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_cursor.c 2013-10-09 16:04:08 UTC (rev 60634)
@@ -73,7 +73,6 @@
GLuint overlay_texture;
int winx;
int winy;
- bool init;
int old_size;
float old_zoom;
bool old_col;
@@ -417,7 +416,6 @@
if (refresh) {
if (!init) {
glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, size, size, 0, GL_ALPHA, GL_UNSIGNED_BYTE, buffer);
- init = 1;
}
else {
glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, size, size, GL_ALPHA, GL_UNSIGNED_BYTE, buffer);
More information about the Bf-blender-cvs
mailing list