Added OSX entry point and OpenGL context

Added OSX entry point and OpenGL context
This commit is contained in:
Garett Bass
2013-01-15 20:37:07 -08:00
parent 4412f0f1d0
commit 2bbcb92109
22 changed files with 505 additions and 50 deletions

7
premake/example-07-callback.lua Normal file → Executable file
View File

@@ -12,6 +12,7 @@ project "example-07-callback"
files {
BGFX_DIR .. "examples/common/**.cpp",
BGFX_DIR .. "examples/common/**.h",
BGFX_DIR .. "examples/common/**.mm",
BGFX_DIR .. "examples/07-callback/**.cpp",
BGFX_DIR .. "examples/07-callback/**.h",
}
@@ -34,3 +35,9 @@ project "example-07-callback"
"GL",
"pthread",
}
configuration { "macosx" }
links {
"Cocoa.framework",
"OpenGL.framework",
}