diff options
| author | Karl Schultz <karl@lunarg.com> | 2016-09-02 10:17:05 -0600 |
|---|---|---|
| committer | Karl Schultz <karl@lunarg.com> | 2016-09-02 10:17:05 -0600 |
| commit | 471bd9423526ee07ca0ecda475346c147b3578bb (patch) | |
| tree | 588dbd94085e25327665713c3c33d4523276c23a /layers/parameter_validation.cpp | |
| parent | ec09bfcbded9a16a45bba431e02fa800da0a12d3 (diff) | |
| download | usermoji-471bd9423526ee07ca0ecda475346c147b3578bb.tar.xz | |
build: gh672 Fix CMake CXX_FLAGS inheritance
Some sub-projects were overwriting CMAKE_CXX_FLAGS instead of
inheriting from the parent. This keeps any user settings outside
or above the top CMakeLists.txt file from reaching these sub-projects.
These fixes include preserving the inheritance, adding extra flags
to turn off warnings (mostly in autogen code) because the top
level turns on Wall, and trivial code fixes to avoid the need to
add a setting to turn off a warning for those trivial fixes.
These changes should have no impact on Windows.
Change-Id: I0c3c175cb5058f26a259ee3f4fde9fdaf3e6b00d
Diffstat (limited to 'layers/parameter_validation.cpp')
| -rw-r--r-- | layers/parameter_validation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layers/parameter_validation.cpp b/layers/parameter_validation.cpp index 376bc77a..bf452851 100644 --- a/layers/parameter_validation.cpp +++ b/layers/parameter_validation.cpp @@ -4951,6 +4951,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL GetPhysicalDeviceXlibPresentationSupportKHR(VkPhy result = get_dispatch_table(pc_instance_table_map, physicalDevice) ->GetPhysicalDeviceXlibPresentationSupportKHR(physicalDevice, queueFamilyIndex, dpy, visualID); } + return result; } #endif // VK_USE_PLATFORM_XLIB_KHR |
