make all member variables static

This commit is contained in:
jacekpoz 2024-08-13 15:17:19 +02:00
parent f03c3260ce
commit daf5f0c4cc
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
#include <ptk_vk/components.h>
#include <ptk_vk/init.h>
PTK_LIST(PtkHandle) m_components;
static PTK_LIST(PtkHandle) m_components;
PTK_LIST(Vertex) g_vertices;

View file

@ -88,7 +88,7 @@ static const VkVertexInputBindingDescription m_vertex_binding_description = {
.inputRate = VK_VERTEX_INPUT_RATE_VERTEX,
};
PTK_ARRAY(VkVertexInputAttributeDescription) m_vertex_attribute_descriptions = PTK_ARRAY_NEW(VkVertexInputAttributeDescription, {
static PTK_ARRAY(VkVertexInputAttributeDescription) m_vertex_attribute_descriptions = PTK_ARRAY_NEW(VkVertexInputAttributeDescription, {
(VkVertexInputAttributeDescription){
.location = 0,
.binding = 0,