fix issue with vbo?
parent
67785f465e
commit
8f3fb79f05
|
@ -1,5 +1,5 @@
|
|||
cmake_minimum_required(VERSION 3.25)
|
||||
project(gpu-particles VERSION 0.0.13)
|
||||
project(gpu-particles VERSION 0.0.14)
|
||||
|
||||
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
|
||||
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)
|
||||
|
|
|
@ -109,7 +109,7 @@ namespace blt::gfx
|
|||
friend class detail::vbo_context_t;
|
||||
|
||||
public:
|
||||
explicit unique_vbo_t(const GLuint type): buffer_type(type)
|
||||
explicit unique_vbo_t(const GLuint type): vboID(0), buffer_type(type)
|
||||
{
|
||||
glGenBuffers(1, &*vboID);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue