fix(vbo.hpp): replace stddef.h to cstddef

This commit is contained in:
2026-01-07 16:38:43 +01:00
parent 8985c7812d
commit b5c1d8ecb1

View File

@@ -1,7 +1,7 @@
#ifndef VBO_HPP
#define VBO_HPP
#include <stddef.h>
#include <cstddef>
#include "glad/glad.h"
@@ -18,7 +18,7 @@ class VBO
// VBO constructor
// It uploads raw vertex data into GPU memory (VRAM).
// The interpretation of this data is defined later by the VAO.
VBO(const void *data, size_t size);
VBO(const void *data, std::size_t size);
// VBO destructor
// Deletes the GPU buffer when the VBO object goes out of scope. Frees the