Skip to content

Commit

Permalink
Big restructuring of files
Browse files Browse the repository at this point in the history
The OSX projects compile
  • Loading branch information
tomdalling committed Oct 26, 2014
1 parent a1ac89c commit 84b933d
Show file tree
Hide file tree
Showing 3,531 changed files with 192 additions and 709,204 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
14 changes: 5 additions & 9 deletions .gitignore
Expand Up @@ -3,16 +3,12 @@
*.vcxproj.user
*.sdf
*.opensdfs
windows/*/Debug/
windows/*/Release/
windows/*/ipch/

# Xcode crap
osx/*.xcodeproj/*
osx/build/
!osx/*.xcodeproj/project.pbxproj
xcuserdata/
*.xcodeproj/*
!*.xcodeproj/project.pbxproj
build/

# linux build output
linux/*/bin/
linux/*/obj/
platforms/linux/*/bin/
platforms/linux/*/obj/
35 changes: 35 additions & 0 deletions glfw_upgrade_steps.txt
@@ -0,0 +1,35 @@
Steps up upgrade GLFW:

1. Add this above AppMain

// records how far the y axis has been scrolled
void OnScroll(GLFWwindow* window, double deltaX, double deltaY) {
gScrollY += deltaY;
}

void OnError(int errorCode, const char* msg) {
throw std::runtime_error(msg);
}

2. Add this under AppMain

glfwSetErrorCallback(OnError);

3. Add this under //open a GLFW window

glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);

4. Set gWindow = ...

5. Under //GLFW settings

5.1 remove gScrollY = 0;
5.2 replce with:

glfwSetScrollCallback(gWindow, OnScroll);
glfwMakeContextCurrent(gWindow);

6. Under while(!glfwWindowShouldClose(gWindow)), add:

// process pending events
glfwPollEvents();

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.

0 comments on commit 84b933d

Please sign in to comment.