projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for 3Dconnexion Space Navigator.
[freeglut]
/
progs
/
demos
/
shapes
/
shapes.c
diff --git
a/progs/demos/shapes/shapes.c
b/progs/demos/shapes/shapes.c
index
d132777
..
8d69fc0
100644
(file)
--- a/
progs/demos/shapes/shapes.c
+++ b/
progs/demos/shapes/shapes.c
@@
-286,6
+286,7
@@
GLint getAttribOrUniformLocation(const char* name, GLuint program, GLboolean isA
fprintf(stderr, "Warning: Could not bind attrib %s\n", name);
}
fprintf(stderr, "Warning: Could not bind attrib %s\n", name);
}
+ checkError ("getAttribOrUniformLocation");
return attrib;
}
else
return attrib;
}
else
@@
-296,9
+297,9
@@
GLint getAttribOrUniformLocation(const char* name, GLuint program, GLboolean isA
fprintf(stderr, "Warning: Could not bind uniform %s\n", name);
}
fprintf(stderr, "Warning: Could not bind uniform %s\n", name);
}
+ checkError ("getAttribOrUniformLocation");
return uniform;
}
return uniform;
}
- checkError ("getAttribOrUniformLocation");
}
GLuint program;
}
GLuint program;