Updated example and test programs to new API.

This commit is contained in:
Camilla Berglund
2010-09-14 03:10:59 +02:00
parent 0f80e066ea
commit e244ad3d41
15 changed files with 17 additions and 48 deletions
+1 -3
View File
@@ -89,12 +89,10 @@ static GLboolean open_window(void)
{
int x, y;
window_handle = glfwOpenWindow(0, 0, GLFW_WINDOWED);
window_handle = glfwOpenWindow(0, 0, GLFW_WINDOWED, "Peter Detector");
if (!window_handle)
return GL_FALSE;
glfwSetWindowTitle(window_handle, "Peter Detector");
glfwGetMousePos(window_handle, &x, &y);
printf("Mouse position: %i %i\n", x, y);