mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-10 06:10:07 +00:00
fix the function prototype for the motion callbacks in our example viewers
fixes #149
This commit is contained in:
parent
ec9f97c1d6
commit
57808e4abe
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user