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:
authorNathan Letwory <nathan@letworyinteractive.com>2008-01-21 00:37:39 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2008-01-21 00:37:39 +0300
commit43f680bad88ca72e9ac0ad3c443052463b22f686 (patch)
tree1b7f774602a9a1a7d6579efcb0f7a2053f06e283 /source/blender/editors/screen/glutil.c
parent107b0997e715ce166757a791938303e175a26606 (diff)
*remove superfluous glEnd(); - made func internal too.
Diffstat (limited to 'source/blender/editors/screen/glutil.c')
-rw-r--r--source/blender/editors/screen/glutil.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c
index 81ef883c6c7..4a7b3766ea8 100644
--- a/source/blender/editors/screen/glutil.c
+++ b/source/blender/editors/screen/glutil.c
@@ -103,7 +103,7 @@ void sdrawline(short x1, short y1, short x2, short y2)
*/
-void sdrawtripoints(short x1, short y1, short x2, short y2){
+static void sdrawtripoints(short x1, short y1, short x2, short y2){
short v[2];
v[0]= x1; v[1]= y1;
glVertex2sv(v);
@@ -111,7 +111,6 @@ void sdrawtripoints(short x1, short y1, short x2, short y2){
glVertex2sv(v);
v[0]= x2; v[1]= y1;
glVertex2sv(v);
- glEnd();
}
void sdrawtri(short x1, short y1, short x2, short y2)