Removed legacy GLFWCALL.

This commit is contained in:
Camilla Berglund
2010-09-08 04:15:36 +02:00
parent 105e927b84
commit c5af4c4324
6 changed files with 18 additions and 18 deletions
+3 -3
View File
@@ -53,19 +53,19 @@ static const char* get_mode_name(int mode)
}
}
static void GLFWCALL window_size_callback(int width, int height)
static void window_size_callback(int width, int height)
{
glViewport(0, 0, width, height);
}
static int GLFWCALL window_close_callback(void)
static int window_close_callback(void)
{
printf("Close callback triggered\n");
closed = GL_TRUE;
return 0;
}
static void GLFWCALL key_callback(int key, int action)
static void key_callback(int key, int action)
{
if (action != GLFW_PRESS)
return;