summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2015-12-03 16:12:51 -0800
committerJesse Hall <jessehall@google.com>2016-01-25 13:49:31 -0800
commit061938022b3f5f37f7aaebf7ccc8ac20bf4dbf97 (patch)
tree86c5f14e820129c5e4d30c7ac0f5bc45c63094c5 /opengl/tests/gl_basic/gl_basic.cpp
parent40f7bf6b212d2a10da1f1531d17ed2d5622ca36b (diff)
libvulkan: Implement new VkFence parameter in vkAcquireNextImageKHR
This parameter was added recently but wasn't hooked up. This adds a new parameter to the vkAcquireImageANDROID extension function, and plumbs the fence through from vkAcquireNextImageKHR to it. This change also fixes some function signatures for API functions that are implemented in the loader bottom rather than the driver. These functions are only ever called through function pointers returned by vkGet*ProcAddr, and therefore pass through a cast to PFN_vkVoidFunction. So the compiler had no way to know they were supposed to match a particular prototype, and couldn't issue an error when they didn't. This change adds explicit static casts to the expected function pointer type before reinterpret casting to the generic function pointer type to enable compile errors. Change-Id: I8a7e065502f783d5f2381b43c880644868234f8f (cherry picked from commit f62f5de0c60212796b6d910cbd194c7002226264)
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions