diff options
| author | Cody Northrop <cody@lunarg.com> | 2015-09-28 15:09:32 -0600 |
|---|---|---|
| committer | Cody Northrop <cody@lunarg.com> | 2015-09-28 15:10:46 -0600 |
| commit | b4156fd375d611dc631ece28a0909f9714d5b682 (patch) | |
| tree | f71e3a78b8e718fe8738c426aeaa445367b168b9 /layers/device_limits.cpp | |
| parent | 15e38d98c9311b2f86e9d038397e1f28da596c87 (diff) | |
| download | usermoji-b4156fd375d611dc631ece28a0909f9714d5b682.tar.xz | |
layers: Add constructors for layer_data
Diffstat (limited to 'layers/device_limits.cpp')
| -rw-r--r-- | layers/device_limits.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/layers/device_limits.cpp b/layers/device_limits.cpp index 30e57d44..37ad695f 100644 --- a/layers/device_limits.cpp +++ b/layers/device_limits.cpp @@ -52,11 +52,16 @@ #include "vk_layer_extension_utils.h" #include "vk_layer_utils.h" -typedef struct _layer_data { +struct layer_data { debug_report_data *report_data; // TODO: put instance data here VkDbgMsgCallback logging_callback; -} layer_data; + + layer_data() : + report_data(nullptr), + logging_callback(nullptr) + {}; +}; static std::unordered_map<void *, layer_data *> layer_data_map; static device_table_map device_limits_device_table_map; |
