make all member variables static
This commit is contained in:
parent
f03c3260ce
commit
daf5f0c4cc
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
#include <ptk_vk/components.h>
|
#include <ptk_vk/components.h>
|
||||||
#include <ptk_vk/init.h>
|
#include <ptk_vk/init.h>
|
||||||
|
|
||||||
PTK_LIST(PtkHandle) m_components;
|
static PTK_LIST(PtkHandle) m_components;
|
||||||
|
|
||||||
PTK_LIST(Vertex) g_vertices;
|
PTK_LIST(Vertex) g_vertices;
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@ static const VkVertexInputBindingDescription m_vertex_binding_description = {
|
||||||
.inputRate = VK_VERTEX_INPUT_RATE_VERTEX,
|
.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){
|
(VkVertexInputAttributeDescription){
|
||||||
.location = 0,
|
.location = 0,
|
||||||
.binding = 0,
|
.binding = 0,
|
||||||
|
|
Loading…
Reference in a new issue