fix the function prototype for the motion callbacks in our example viewers

fixes #149
This commit is contained in:
manuelk 2013-04-08 10:37:36 -07:00
parent ec9f97c1d6
commit 57808e4abe
4 changed files with 4 additions and 4 deletions

View File

@ -1388,7 +1388,7 @@ display() {
//------------------------------------------------------------------------------
static void
#if GLFW_VERSION_MAJOR>=3
motion(GLFWwindow *, int x, int y) {
motion(GLFWwindow *, double x, double y) {
#else
motion(int x, int y) {
#endif

View File

@ -1423,7 +1423,7 @@ display() {
//------------------------------------------------------------------------------
static void
#if GLFW_VERSION_MAJOR>=3
motion(GLFWwindow *, int x, int y) {
motion(GLFWwindow *, double x, double y) {
#else
motion(int x, int y) {
#endif

View File

@ -1004,7 +1004,7 @@ drawStroke(int x, int y)
//------------------------------------------------------------------------------
static void
#if GLFW_VERSION_MAJOR>=3
motion(GLFWwindow * w, int x, int y) {
motion(GLFWwindow * w, double x, double y) {
#else
motion(int x, int y) {
#endif

View File

@ -1714,7 +1714,7 @@ mouse(int button, int state) {
//------------------------------------------------------------------------------
static void
#if GLFW_VERSION_MAJOR>=3
motion(GLFWwindow *, int x, int y) {
motion(GLFWwindow *, double x, double y) {
#else
motion(int x, int y) {
#endif