From: Sylvain Beucler Date: Sat, 21 Apr 2012 15:49:46 +0000 (+0000) Subject: Really fix tabs->space X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=a0188f0c9f746bbb5859681f14eae9654be8c04d;p=freeglut Really fix tabs->space git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1251 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/fg_geometry.c b/src/fg_geometry.c index 96c712c..d50c93c 100644 --- a/src/fg_geometry.c +++ b/src/fg_geometry.c @@ -83,10 +83,10 @@ static void fghDrawGeometryWire20(GLfloat *vertices, GLfloat *normals, GLsizei n } if (numVertices > 0 && attribute_v_normal != -1) { - fghGenBuffers(1, &vbo_normals); - fghBindBuffer(FGH_ARRAY_BUFFER, vbo_normals); - fghBufferData(FGH_ARRAY_BUFFER, numVertices * 3 * sizeof(normals[0]), - normals, FGH_STATIC_DRAW); + fghGenBuffers(1, &vbo_normals); + fghBindBuffer(FGH_ARRAY_BUFFER, vbo_normals); + fghBufferData(FGH_ARRAY_BUFFER, numVertices * 3 * sizeof(normals[0]), + normals, FGH_STATIC_DRAW); } if (vbo_coords) {