diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-06-06 10:12:52 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-06-06 10:12:52 -0700 |
commit | 292bf20c67104f5dede74f0a828eef6bcd2c18b3 (patch) | |
tree | d3038fcd937bfdf34c723dc877b95f41c9a2cd61 /tests/glfw.c | |
parent | a0b5fa6be83e76bc1ba418495df0307378985572 (diff) | |
parent | 076d88d5c28cb65300ed883743e9c444c89c382f (diff) |
Merge pull request #2403 from guillaumeblanc/incoming
Fixes glfwGetProcAddress calls that were causing a ReferenceError except...
Diffstat (limited to 'tests/glfw.c')
-rw-r--r-- | tests/glfw.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/glfw.c b/tests/glfw.c index 79199d9a..cbdc81fe 100644 --- a/tests/glfw.c +++ b/tests/glfw.c @@ -376,6 +376,10 @@ void PullInfo(){ extension = "GL_EXT_framebuffer_object"; printf("'%s' extension is %s.\n", extension, glfwExtensionSupported(extension) ? "supported" : "not supported"); + extension = "glBindBuffer"; + void* proc_addr = glfwGetProcAddress(extension); + printf("'%s' extension proc address is %p.\n", extension, proc_addr); + printf("Sleeping 1 sec...\n"); glfwSleep(1); printf("...Done.\n"); |